/* =================================================================
   GLOBAL STYLING - Consistent Across Entire Project
   Author: Theme Consistency Update
   ================================================================= */

/* ========== FONT CONSISTENCY ========== */
* {
    font-family: 'Roboto', sans-serif;
}

html, body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
}

/* ========== BUTTON STANDARDIZATION ========== */
/* Remove ALL borders from ALL buttons */
button, .btn, input[type="button"], input[type="submit"] {
    border: none !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
}

button:focus, .btn:focus, input[type="button"]:focus, input[type="submit"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ========== THEME BUTTON - PRIMARY ========== */
.thm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--gorent-base, #FFC107);
    color: white;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.thm-btn:hover {
    background-color: #FFB300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.thm-btn:active {
    transform: translateY(0);
}

.thm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========== THEME BUTTON - SECONDARY (LIGHT) ========== */
.thm-btn--light {
    background-color: #9e9e9e;
    color: white;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 6px;
}

.thm-btn--light:hover {
    background-color: #808080;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========== ADMIN BUTTONS ========== */
/* Admin Edit Button - Yellow */
.admin-btn-edit {
    background-color: #FFC107 !important;
    color: #333 !important;
    border: none !important;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-btn-edit:hover {
    background-color: #FFB300 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.25);
}

/* Admin Disable Button - Orange */
.admin-btn-disable {
    background-color: #FF9800 !important;
    color: white !important;
    border: none !important;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-btn-disable:hover {
    background-color: #F57C00 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.25);
}

/* Admin Enable Button - Green */
.admin-btn-enable {
    background-color: #4CAF50 !important;
    color: white !important;
    border: none !important;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-btn-enable:hover {
    background-color: #45a049 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.25);
}

/* Admin Delete Button - Red */
.admin-btn-delete {
    background-color: #F44336 !important;
    color: white !important;
    border: none !important;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-btn-delete:hover {
    background-color: #DA190B !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.25);
}

/* Admin Images Button - Purple */
.admin-btn-images {
    background-color: #9C27B0 !important;
    color: white !important;
    border: none !important;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.admin-btn-images:hover {
    background-color: #7B1FA2 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(156, 39, 176, 0.25);
}

/* ========== BOOTSTRAP BUTTON OVERRIDES ========== */
.btn {
    border: none !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--gorent-base, #FFC107) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #FFB300 !important;
}

.btn-secondary {
    background-color: #6c757d !important;
    color: white !important;
}

.btn-secondary:hover {
    background-color: #5a6268 !important;
}

.btn-success {
    background-color: #4CAF50 !important;
    color: white !important;
}

.btn-success:hover {
    background-color: #45a049 !important;
}

.btn-danger {
    background-color: #F44336 !important;
    color: white !important;
}

.btn-danger:hover {
    background-color: #DA190B !important;
}

.btn-warning {
    background-color: #FF9800 !important;
    color: white !important;
}

.btn-warning:hover {
    background-color: #F57C00 !important;
}

.btn-info {
    background-color: #2196F3 !important;
    color: white !important;
}

.btn-info:hover {
    background-color: #0b7dda !important;
}

.btn-link {
    color: var(--gorent-base, #FFC107);
    text-decoration: none;
    background: none !important;
    border: none !important;
}

.btn-link:hover {
    color: #FFB300;
    text-decoration: underline;
}

/* Remove Bootstrap's default button borders */
.btn:focus, .btn:active, .btn.active {
    box-shadow: none !important;
}

.btn-sm {
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 4px;
    border: none !important;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    border: none !important;
}

/* ========== FORM INPUTS STANDARDIZATION ========== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    color: #333;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gorent-base, #FFC107);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

/* Bootstrap form-select */
.form-select {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    color: #333;
    height: 36px;
}

.form-select:focus {
    outline: none;
    border-color: var(--gorent-base, #FFC107);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.form-select option:checked {
    background-color: var(--gorent-base, #FFC107);
    color: white;
}

/* ========== PAGINATION CONSISTENCY ========== */
.pagination {
    gap: 5px;
}

.page-link {
    border: none;
    color: var(--gorent-base, #FFC107);
    background-color: white;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--gorent-base, #FFC107);
    color: white;
}

.page-item.active .page-link {
    background-color: var(--gorent-base, #FFC107);
    border-color: var(--gorent-base, #FFC107);
    color: white;
}

/* ========== MODAL BUTTONS ========== */
.modal-footer .btn {
    border: none !important;
    padding: 10px 20px;
}

/* ========== BADGES CONSISTENCY ========== */
.badge {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
}

.badge-success {
    background-color: #4CAF50;
}

.badge-danger {
    background-color: #F44336;
}

.badge-warning {
    background-color: #FF9800;
}

.badge-info {
    background-color: #2196F3;
}

/* ========== UTILITY: REMOVE ALL BORDERS ========== */
.btn-group .btn {
    border: none !important;
    margin: 0 2px;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .thm-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .btn-sm {
        padding: 5px 8px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    button, .btn, input[type="button"], input[type="submit"] {
        width: 100%;
        margin: 5px 0;
    }

    .btn-sm {
        padding: 6px 10px;
        font-size: 12px;
    }
}
