#login {
    background: linear-gradient(135deg, rgba(185, 138, 61, 0.5) 0%, rgba(60, 42, 30, 0.5) 100%), url('../backgrounds/admin-login.jpg') no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.operator-login-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.login-form-wrapper {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 50px;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.login-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.operator-logo {
    text-align: center;
    margin-bottom: 30px;
}

.operator-logo img {
    max-height: 70px;
    width: auto;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Kumbh Sans', sans-serif;
}

.login-subtitle {
    font-size: 14px;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 40px;
}

.premium-form-group {
    margin-bottom: 30px;
    position: relative;
}

.premium-form-control {
    width: 100%;
    padding: 18px 20px 8px 20px;
    border: 2px solid #e1e5e9 !important;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    color: var(--color-primary);
    outline: none;
}

.premium-form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent);
    transform: translateY(-1px);
}

.premium-form-control:hover:not(:focus) {
    border-color: var(--color-accent);
    transform: translateY(-1px);
}

.premium-form-control::placeholder {
    color: #adb5bd;
}

.premium-form-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c8591;
    font-size: 16px;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    padding: 0 4px;
    z-index: 1;
}

.premium-form-control:focus + .premium-form-label,
.premium-form-control:not(:placeholder-shown) + .premium-form-label {
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--color-accent);
    font-weight: 500;
}

.premium-form-control:hover:not(:focus) + .premium-form-label {
    color: var(--color-primary);
}

.premium-form-control.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 1px #ef4444;
}

.premium-form-control.error + .premium-form-label {
    color: #ef4444;
}

.premium-form-control.success {
    border-color: #10b981;
    box-shadow: 0 0 0 1px #10b981;
}

.premium-form-control.success + .premium-form-label {
    color: #10b981;
}

.password-wrapper {
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7c8591;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    border-radius: 4px;
    z-index: 2;
}

.password-toggle-btn:hover {
    color: var(--color-accent);
    background: rgba(185, 138, 61, 0.1);
}

.password-toggle-btn:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.forgot-password-link {
    display: block;
    text-align: right;
    margin-top: 12px;
    color: var(--color-accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px;
    border-radius: 4px;
}

.forgot-password-link:hover {
    color: var(--color-primary);
    text-decoration: none;
    background: rgba(185, 138, 61, 0.05);
}

.forgot-password-link i {
    margin-right: 4px;
    font-size: 13px;
}

.premium-login-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}

.premium-login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.premium-login-btn:hover::before {
    left: 100%;
}

.premium-login-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(185, 138, 61, 0.4);
}

.premium-login-btn:active:not(:disabled) {
    transform: translateY(0);
}

.premium-login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: linear-gradient(135deg, #9ca3af, #6b7280);
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.register-link {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 14px;
}

.register-link:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add a subtle focus glow effect */
.premium-form-control:focus {
    animation: focusGlow 0.3s ease-out;
}

@keyframes focusGlow {
    0% { 
        box-shadow: 0 0 0 0 rgba(185, 138, 61, 0.4); 
    }
    50% { 
        box-shadow: 0 0 0 4px rgba(185, 138, 61, 0.1); 
    }
    100% { 
        box-shadow: 0 0 0 1px var(--color-accent); 
    }
}

/* Operator Header Styles */
.operator-logo-img {
    width: auto !important;
    height: 50px !important;
    max-height: 50px;
}

#toolbar {
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.user-menu-button .dropdown-toggle {
    border-radius: var(--radius-soft);
    transition: all 0.3s ease;
    padding: 8px 16px;
}

.dropdown-toggle span:hover{
    color: var(--color-accent);
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-circle);
    object-fit: cover;
    border: 2px solid var(--color-white);
    box-shadow: var(--shadow-soft);
}

.status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: var(--color-white);
    border-radius: var(--radius-circle);
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.username {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
}

.dropdown-divider {
    margin: 8px 0;
    border-color: var(--color-border);
}

/* Sidebar Enhancements */
.aside-content {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral) 100%);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-radius: var(--radius-soft);
    margin: 2px 8px;
    font-family: var(--font-body);
}

.nav-link:hover {
    color: var(--color-white);
    background-color: rgba(185, 138, 61, 0.2);
}

.nav-link.active {
    color: var(--color-white);
    background-color: rgba(185, 138, 61, 0.3);
    border-left: 3px solid var(--color-accent);
}

.nav-link i {
    width: 20px;
    text-align: center;
    margin-right: 12px;
}

.collapse .nav-link {
    padding-left: 40px;
    font-size: 14px;
}

.collapse .nav-link i {
    width: 16px;
    font-size: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .login-form-wrapper {
        padding: 30px 20px;
        margin: 20px;
        max-width: none;
    }
    
    .login-title {
        font-size: 20px;
    }
    
    .premium-form-control {
        padding: 16px 18px 6px 18px;
        font-size: 15px;
    }
    
    .premium-form-label {
        left: 18px;
        font-size: 15px;
    }
    
    .premium-form-control:focus + .premium-form-label,
    .premium-form-control:not(:placeholder-shown) + .premium-form-label {
        font-size: 11px;
    }
    
    .premium-login-btn {
        padding: 16px 25px;
        font-size: 15px;
        min-height: 52px;
    }
    
    .password-toggle-btn {
        right: 12px;
        padding: 6px;
    }
    
    .username {
        display: none !important;
    }
    
    .avatar {
        width: 35px;
        height: 35px;
    }
}



/* Custom Confirmation Modal Styles */
        .custom-modal {
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
    background-color: rgba(60, 42, 30, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
        }
        
        .custom-modal-content {
    background: var(--color-white);
    border-radius: var(--radius-hard);
    box-shadow: var(--shadow-hover);
    max-width: 520px;
    width: 100%;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-border);
    overflow: hidden;
        }
        
        @keyframes modalSlideIn {
    from { 
        transform: translateY(-30px) scale(0.95); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
        }
        
        .custom-modal-header {
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-white) 100%);
    padding: 10px !important;
}

.custom-modal-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.custom-modal-close {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--spacing-xs);
    border-radius: var(--radius-soft);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-modal-close:hover {
    color: var(--color-primary);
    background-color: var(--color-bg-light);
    transform: scale(1.1);
}

.custom-modal-body {
    padding: var(--spacing-xl) var(--spacing-lg);
            text-align: center;
    padding: 20px !important;
        }
        
        .custom-modal-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-modal-icon .fa-check-circle { 
    color: var(--color-accent-green); 
    filter: drop-shadow(0 2px 4px rgba(107, 124, 63, 0.2));
}

.custom-modal-icon .fa-exclamation-triangle { 
    color: var(--color-accent); 
    filter: drop-shadow(0 2px 4px rgba(185, 138, 61, 0.2));
}

.custom-modal-body p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    font-family: var(--font-body);
    font-weight: 400;
}

.custom-modal-footer {
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
    text-align: right;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-light);
    padding: 10px !important;
}

.custom-modal-footer .btn {
    margin-left: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-soft);
            font-weight: 600;
    font-family: var(--font-body);
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary {
    background-color: var(--color-neutral);
    border-color: var(--color-neutral);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-primary {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-light);
    border-color: var(--color-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-success {
    background-color: var(--color-accent-green);
    border-color: var(--color-accent-green);
    color: var(--color-white);
}

.btn-success:hover {
    background-color: #5a6b35;
    border-color: #5a6b35;
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-warning {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-warning:hover {
    background-color: var(--color-light);
    border-color: var(--color-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

/* Mobile Responsive for Modal */
@media (max-width: 768px) {
    .custom-modal {
        padding: var(--spacing-sm);
    }
    
    .custom-modal-content {
        width: 100%;
        max-width: none;
            margin: 0;
        }
    
    .custom-modal-header {
        padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
    }
    
    .custom-modal-header h4 {
        font-size: 1.125rem;
    }
        
        .custom-modal-body {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .custom-modal-footer {
        padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
            text-align: center;
    }
    
    .custom-modal-footer .btn {
        margin: var(--spacing-xs);
        width: calc(50% - var(--spacing-xs));
        display: inline-block;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 13px;
    }
    
    .custom-modal-icon {
        font-size: 3rem;
        margin-bottom: var(--spacing-md);
    }
    
    .custom-modal-body p {
        font-size: 13px;
            line-height: 1.5;
        }
        
        .custom-modal-close {
            width: 28px;
            height: 28px;
            font-size: 1.25rem;
        }
}

/* Premium SaaS Inquiry Cards - Horizontal Layout */
.premium-cards-grid {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    padding: 0 20px;
    width: 100%;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
}

.premium-card-container {
    flex: 1;
    min-width: 0;
    max-width: 200px;
}

.premium-card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
}

.premium-card-link:hover {
    text-decoration: none !important;
    color: inherit;
}

.premium-inquiry-card {
    background: var(--color-white);
    border-radius: var(--radius-hard);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    width: 100%;
}

.premium-inquiry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.premium-inquiry-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.premium-inquiry-card:hover::before {
    transform: scaleX(1);
}

.premium-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
            text-align: center;
    width: 100%;
}

.premium-card-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.premium-card-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    font-family: var(--font-body);
    line-height: 1.3;
}

.premium-card-action {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent);
    transition: all 0.3s ease;
    text-decoration: none;
}

.premium-inquiry-card:hover .premium-card-action {
    color: var(--color-primary);
}

/* Card Type Specific Styles - Elegant Safari Colors */
.premium-card-total::before {
    background: linear-gradient(90deg, #8B7355 0%, #A68B5B 100%);
}

.premium-card-total .premium-card-number {
    color: #8B7355;
}

.premium-card-new::before {
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-light) 100%);
}

.premium-card-new .premium-card-number {
    color: var(--color-accent);
}

.premium-card-progress::before {
    background: linear-gradient(90deg, #B8860B 0%, #DAA520 100%);
}

.premium-card-progress .premium-card-number {
    color: #B8860B;
}

.premium-card-confirmed::before {
    background: linear-gradient(90deg, #6B7C3F 0%, #8A9A5B 100%);
}

.premium-card-confirmed .premium-card-number {
    color: #6B7C3F;
}

.premium-card-hold::before {
    background: linear-gradient(90deg, #CD853F 0%, #DEB887 100%);
}

.premium-card-hold .premium-card-number {
    color: #CD853F;
}

.premium-card-cancelled::before {
    background: linear-gradient(90deg, #A0522D 0%, #BC8F8F 100%);
}

.premium-card-cancelled .premium-card-number {
    color: #A0522D;
}

/* Mobile Responsive for Premium Cards */
@media (max-width: 1200px) {
    .premium-cards-grid {
        gap: 12px;
        padding: 0 16px;
    }
    
    .premium-card-container {
        max-width: 180px;
    }
    
    .premium-inquiry-card {
        padding: 20px;
        min-height: 120px;
    }
    
    .premium-card-number {
        font-size: 2rem;
    }
    
    .premium-card-label {
        font-size: 0.75rem;
    }
    
    .premium-card-action {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .premium-cards-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 0 12px;
        margin: 20px 0;
    }
    
    .premium-card-container {
        flex: none;
        max-width: none;
        min-width: 0;
        width: 100%;
    }
    
    .premium-inquiry-card {
        padding: 18px;
        min-height: 110px;
    }
    
    .premium-card-number {
        font-size: 1.75rem;
    }
    
    .premium-card-label {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }
    
    .premium-card-action {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .premium-cards-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 0 8px;
        margin: 15px 0;
    }
    
    .premium-card-container {
        flex: none;
        max-width: none;
        width: 100%;
    }
    
    .premium-inquiry-card {
        padding: 14px;
        min-height: 95px;
    }
    
    .premium-card-number {
        font-size: 1.4rem;
    }
    
    .premium-card-label {
        font-size: 0.6rem;
        margin-bottom: 8px;
    }
    
    .premium-card-action {
        font-size: 0.55rem;
    }
}

/* Premium Status Buttons */
.premium-status-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-soft);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
}

.premium-status-live {
    background: linear-gradient(135deg, #6B7C3F 0%, #8A9A5B 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(107, 124, 63, 0.2);
}

.premium-status-live:hover {
    background: linear-gradient(135deg, #5a6b35 0%, #7a8a4b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(107, 124, 63, 0.3);
    color: white;
    text-decoration: none;
}

.premium-status-archived {
    background: linear-gradient(135deg, #CD853F 0%, #DEB887 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(205, 133, 63, 0.2);
}

.premium-status-archived:hover {
    background: linear-gradient(135deg, #b87333 0%, #d4a373 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(205, 133, 63, 0.3);
    color: white;
    text-decoration: none;
}

.premium-status-draft {
    background: linear-gradient(135deg, #8B7355 0%, #A68B5B 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(139, 115, 85, 0.2);
}

.premium-status-draft:hover {
    background: linear-gradient(135deg, #7a6345 0%, #967b4b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(139, 115, 85, 0.3);
    color: white;
    text-decoration: none;
}

/* Professional Status Buttons */
.professional-status-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
            border: none;
    cursor: pointer;
    font-family: var(--font-body);
    min-width: 100px;
    justify-content: center;
}

.professional-status-btn i {
            font-size: 14px;
}

.status-live {
    background: #10b981;
    color: white;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.2);
}

.status-live:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white;
    text-decoration: none;
}

.status-archived {
    background: #f59e0b;
    color: white;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.2);
}

.status-archived:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    color: white;
    text-decoration: none;
}

.status-draft {
    background: #6b7280;
    color: white;
    box-shadow: 0 1px 3px rgba(107, 114, 128, 0.2);
}

.status-draft:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
    color: white;
    text-decoration: none;
}

/* Professional Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.edit-btn {
    background: #3b82f6;
    color: white;
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.2);
}

.edit-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
    text-decoration: none;
}

.delete-btn {
    background: #ef4444;
    color: white;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.2);
}

.delete-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    color: white;
    text-decoration: none;
}

/* ========================================
   PREMIUM UI DESIGN SYSTEM - UNIFIED ACROSS ALL PAGES
   ======================================== */

/* Base Premium Table Layout */
.premium-table-wrapper {
    background: #f8f8f8;
    padding: 24px;
    border-radius: var(--radius-hard);
    box-shadow: var(--shadow-card);
}

.premium-table {
    background: var(--color-white);
    border-radius: var(--radius-med);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.premium-table-row {
    background: var(--color-white);
    border-radius: var(--radius-soft);
    margin-bottom: 8px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(60, 42, 30, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.premium-table-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(60, 42, 30, 0.12);
    border-color: var(--color-accent);
}

/* Professional Premium Tabs - Fixed Design */
.premium-tabs {
    display: flex;
    background: var(--color-bg-light);
    padding: 4px;
    border-radius: 50px;
    margin-bottom: 0px;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(60, 42, 30, 0.08);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
    min-height: 50px;
}

.premium-tab {
    flex: 1;
    text-align: center;
    padding: 0px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    color: var(--text-secondary);
    background: transparent;
    border: 2px solid transparent;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-tab.active {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 
        0 6px 20px rgba(60, 42, 30, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.premium-tab:hover:not(.active) {
    background: rgba(185, 138, 61, 0.1);
    color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(185, 138, 61, 0.15);
}

.premium-tab-badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 8px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(185, 138, 61, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: none;
}

.premium-tab.active .premium-tab-badge {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(60, 42, 30, 0.3);
}

/* Mobile Tabs → Dropdown */
.premium-tabs-mobile { display: none; }
.premium-tabs-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-white);
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 12px 16px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 10px;
}
.premium-tabs-dropdown .premium-tab-badge { margin-left: 10px; }
.premium-tabs-dropdown i { color: var(--text-secondary); }

.premium-tabs-dropdown-menu {
    display: none;
    background: var(--color-white);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-soft);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-top: 8px;
    overflow: hidden;
}
.premium-tabs-dropdown-menu.show { display: block; }

.premium-tabs-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
}
.premium-tabs-dropdown-item.active { background: rgba(185,138,61,0.08); }
.premium-tabs-dropdown-item:hover { background: #f8f9fa; text-decoration: none; }

@media (max-width: 768px) {
    .premium-tabs { display: none; }
    .premium-tabs-mobile { display: block; margin-bottom: 16px; }
}

/* Premium Status Pills */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
    min-width: 80px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.status-pill i {
    font-size: 0.75rem;
}

/* Status Pill Variants */
.status-pill.live {
    background: #27ae60;
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.status-pill.live:hover {
    background: #229954;
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.status-pill.archived {
    background: #e67e22;
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}

.status-pill.archived:hover {
    background: #d35400;
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

.status-pill.draft {
    background: #95a5a6;
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.3);
}

.status-pill.draft:hover {
    background: #7f8c8d;
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.4);
}

/* Premium Typography */
.tour-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: color 0.3s ease;
}

.tour-title:hover {
    color: var(--color-accent);
}

.tour-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.premium-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-heading);
}

/* Premium Badges */
.premium-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
            font-weight: 500;
    font-family: var(--font-body);
}

.premium-badge.views {
    background: #e3f2fd;
    color: #1976d2;
}

.premium-badge.success {
    background: #e8f5e8;
    color: #2e7d32;
}

.premium-badge.warning {
    background: #fff3e0;
    color: #f57c00;
}

/* Fancy Circle Action Buttons */
.fancy-action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.fancy-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
            cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.fancy-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.fancy-action-btn:hover::before {
    opacity: 1;
}

.fancy-action-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Edit Button - Company Accent Color */
.fancy-action-btn.edit-circle {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-light) 100%);
    color: var(--text-primary);
}

.fancy-action-btn.edit-circle:hover {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-accent) 100%);
    color: var(--text-primary);
    box-shadow: 0 8px 20px rgba(185, 138, 61, 0.4);
}

/* Delete Button - Elegant Red */
.fancy-action-btn.delete-circle {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: var(--color-white);
}

.fancy-action-btn.delete-circle:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

.fancy-action-btn i {
    position: relative;
    z-index: 1;
    font-size: 15px;
    margin-top: 10px;
}

/* Premium Pagination */
.premium-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.premium-pagination-btn {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    background: var(--color-white);
    border-radius: var(--radius-soft);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
            transition: all 0.3s ease;
        }
        
.premium-pagination-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(185, 138, 61, 0.05);
    text-decoration: none;
}

.premium-pagination-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* Premium Hero Header */
.premium-hero {
    background: linear-gradient(135deg, rgba(60, 42, 30, 0.8), rgba(185, 138, 61, 0.6)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 600"><rect width="1000" height="600" fill="%23f8f6f3"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 60px 24px;
    border-radius: var(--radius-hard);
    margin-bottom: 32px;
    color: var(--color-white);
    text-align: center;
}

.premium-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.premium-hero-cta {
    background: var(--color-accent);
    color: var(--text-primary);
    padding: 12px 32px;
    border-radius: var(--radius-btn);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(185, 138, 61, 0.4);
}

.premium-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(185, 138, 61, 0.5);
    text-decoration: none;
    color: var(--text-primary);
}

/* Add Tour Page Styles */
.tours-bg {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%) !important;
    min-height: 120px;
}

/* Frontend-Inspired Top Banner Action Buttons */
.tours-bg .btn {
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0px;
    font-size: 12px;
    font-family: var(--font-heading);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 160px;
    height: 40px;
    margin-right: 10px;
}

.tours-bg .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tours-bg .btn:hover::before {
    opacity: 1;
}

.tours-bg .btn span {
    position: relative;
    z-index: 2;
}

.tours-bg .btn i {
    position: relative;
    z-index: 2;
    font-size: 14px;
    margin-top: 8px ;
    transition: transform 0.3s ease;
}

.tours-bg .btn:hover i {
    transform: scale(1.1);
}

/* Save as Draft Button - Frontend Style */
.tours-bg .btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tours-bg .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tours-bg .btn-outline-light:active {
    transform: translateY(-1px) scale(1.01);
}

/* Publish Tour Button - Using Correct Brand Colors */
.tours-bg .btn-warning {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-light) 100%);
    border: 2px solid var(--color-accent);
    color: var(--color-primary);
    font-weight: 800;
    box-shadow: 
        0 8px 32px rgba(185, 138, 61, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
}

.tours-bg .btn-warning::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-accent) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
    z-index: 1;
}

.tours-bg .btn-warning:hover::after {
    opacity: 1;
}

.tours-bg .btn-warning:hover {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-accent) 100%);
    border-color: var(--color-light);
    color: var(--color-white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(185, 138, 61, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.tours-bg .btn-warning:active {
    transform: translateY(-1px) scale(1.01);
}

/* Button Animation Effects */
.tours-bg .btn {
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
}

.tours-bg .btn-warning {
    animation: buttonPulseGold 2s infinite;
}

@keyframes buttonPulseGold {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(255, 193, 7, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 8px 32px rgba(255, 193, 7, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

/* Responsive adjustments for top banner buttons */
@media (max-width: 768px) {
    .tours-bg .d-flex {
        flex-direction: column;
        gap: 12px !important;
    }
    
    .tours-bg .btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 13px;
        width: 50%;
        position: relative;
    }
}

.tours-bg .logo-icon i {
    color: var(--color-white);
    font-size: 2rem;
}

.tours-bg .logo-text h4 {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.tours-bg .logo-text .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px;
}

.form-group label {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 14px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: var(--font-heading);
    display: block;
    line-height: 1.4;
}

/* Consistent Input Styling for All Form Elements - High Specificity */
.card .form-control,
.card input[type="text"],
.card input[type="email"],
.card input[type="password"],
.card input[type="number"],
.card input[type="tel"],
.card input[type="url"],
.card input[type="date"],
.card input[type="time"],
.card input[type="datetime-local"],
.card select,
.card textarea,
.form-group .form-control,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="datetime-local"],
.form-group select,
.form-group textarea {
    border: 2px solid var(--color-border) !important;
    border-radius: 12px !important;
    padding: 10px !important;
    font-size: 14px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: var(--color-white) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    min-height: 45px;
    line-height: 1.5 !important;
    width: 100% !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.card .form-control:focus,
.card input[type="text"]:focus,
.card input[type="email"]:focus,
.card input[type="password"]:focus,
.card input[type="number"]:focus,
.card input[type="tel"]:focus,
.card input[type="url"]:focus,
.card input[type="date"]:focus,
.card input[type="time"]:focus,
.card input[type="datetime-local"]:focus,
.card select:focus,
.card textarea:focus,
.form-group .form-control:focus,
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="url"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="time"]:focus,
.form-group input[type="datetime-local"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent) !important;
    box-shadow: 
        0 0 0 4px rgba(185, 138, 61, 0.15),
        0 6px 20px rgba(185, 138, 61, 0.1) !important;
    outline: none !important;
    transform: translateY(-2px) !important;
}

.card .form-control:hover:not(:focus),
.card input[type="text"]:hover:not(:focus),
.card input[type="email"]:hover:not(:focus),
.card input[type="password"]:hover:not(:focus),
.card input[type="number"]:hover:not(:focus),
.card input[type="tel"]:hover:not(:focus),
.card input[type="url"]:hover:not(:focus),
.card input[type="date"]:hover:not(:focus),
.card input[type="time"]:hover:not(:focus),
.card input[type="datetime-local"]:hover:not(:focus),
.card select:hover:not(:focus),
.card textarea:hover:not(:focus),
.form-group .form-control:hover:not(:focus),
.form-group input[type="text"]:hover:not(:focus),
.form-group input[type="email"]:hover:not(:focus),
.form-group input[type="password"]:hover:not(:focus),
.form-group input[type="number"]:hover:not(:focus),
.form-group input[type="tel"]:hover:not(:focus),
.form-group input[type="url"]:hover:not(:focus),
.form-group input[type="date"]:hover:not(:focus),
.form-group input[type="time"]:hover:not(:focus),
.form-group input[type="datetime-local"]:hover:not(:focus),
.form-group select:hover:not(:focus),
.form-group textarea:hover:not(:focus) {
    border-color: var(--color-accent) !important;
    box-shadow: 0 6px 16px rgba(185, 138, 61, 0.1) !important;
    transform: translateY(-1px) !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
    font-size: 13px;
}

/* Textarea Specific Styling */
textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Select Dropdown Styling - Consistent with other inputs */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 18px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 50px;
}

select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23B98A3D' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Select Dropdown Styling */
.form-control select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Textarea Styling */
.form-control textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Professional Checkbox and Radio Styling - Consistent Design */
.form-check {
    margin-bottom: 1rem !important;
    display: flex;
    align-items: center;
    min-height: 32px;
}

.form-check-input {
    width: 24px;
    height: 24px;
    margin-top: 0;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Global checkbox styles - only for specific sections */
.tour-features .form-check-input:checked,
.meal-options-row .form-check-input:checked,
.inclusion-options .form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(185, 138, 61, 0.3);
}

.form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-weight: bold;
    font-size: 14px;
}

/* Global checkbox hover styles - only for specific sections */
.tour-features .form-check-input:hover,
.meal-options-row .form-check-input:hover,
.inclusion-options .form-check-input:hover {
    border-color: var(--color-accent);
    box-shadow: 0 6px 16px rgba(185, 138, 61, 0.15);
    transform: translateY(-1px) scale(1.05);
}

/* Global checkbox focus styles - only for specific sections */
.tour-features .form-check-input:focus,
.meal-options-row .form-check-input:focus,
.inclusion-options .form-check-input:focus {
    border-color: var(--color-accent);
    box-shadow: 
        0 0 0 4px rgba(185, 138, 61, 0.15),
        0 6px 20px rgba(185, 138, 61, 0.1);
    outline: none;
}

.form-check-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

/* Global checkbox label hover styles - only for specific sections */
.tour-features .form-check:hover .form-check-label,
.meal-options-row .form-check:hover .form-check-label,
.inclusion-options .form-check:hover .form-check-label {
    color: var(--color-accent);
}

/* Radio Button Styling - Consistent with other inputs */
.form-check-input[type="radio"] {
    border-radius: 50%;
}

.form-check-input[type="radio"]:checked::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-white);
}

/* Tour Features Styling - Reference Design Match */
.tour-features .row {
    margin-bottom: 2rem;
}

.tour-features .col-md-3,
.tour-features .col-md-6 {
    margin-bottom: 14px;
}

.tour-features .form-check {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem 2rem 1.5rem 3rem;
    margin-bottom: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    cursor: pointer;
}

.tour-features /* Global checkbox container hover styles - only for specific sections */
.tour-features .form-check:hover,
.meal-options-row .form-check:hover,
.inclusion-options .form-check:hover {
    border-color: var(--color-accent);
    box-shadow: 0 6px 20px rgba(185, 138, 61, 0.15);
    transform: translateY(-2px);
}

.tour-features .form-check-input {
    width: 28px;
    height: 28px;
    margin-left: -3rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tour-features /* Global checkbox styles - only for specific sections */
.tour-features .form-check-input:checked,
.meal-options-row .form-check-input:checked,
.inclusion-options .form-check-input:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(185, 138, 61, 0.3);
}

.tour-features .form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-weight: bold;
    font-size: 16px;
}

.tour-features .form-check-input:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(185, 138, 61, 0.2);
    transform: scale(1.05);
}

.tour-features .form-check-label {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 16px;
    cursor: pointer;
    padding-left: 14px;
    transition: color 0.3s ease;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: var(--font-heading);
    margin: 0;
}

.tour-features /* Global checkbox label hover styles - only for specific sections */
.tour-features .form-check:hover .form-check-label,
.meal-options-row .form-check:hover .form-check-label,
.inclusion-options .form-check:hover .form-check-label {
    color: var(--color-accent);
}

/* Global checkbox checked label styles - only for specific sections */
.tour-features .form-check-input:checked + .form-check-label,
.meal-options-row .form-check-input:checked + .form-check-label,
.inclusion-options .form-check-input:checked + .form-check-label {
    color: var(--color-accent);
    font-weight: 700;
}

/* Global checkbox container checked styles - only for specific sections */
.tour-features .form-check:has(.form-check-input:checked),
.meal-options-row .form-check:has(.form-check-input:checked),
.inclusion-options .form-check:has(.form-check-input:checked) {
    background: rgba(185, 138, 61, 0.05);
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(185, 138, 61, 0.2);
}

/* Radio Button Styling for Tour Features */
.tour-features .form-check-input[type="radio"] {
    border-radius: 50%;
}

.tour-features .form-check-input[type="radio"]:checked::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-white);
}

/* Required Field Indicator */
.text-danger {
    color: #dc3545 !important;
    font-weight: 700;
    margin-left: 4px;
}

/* Form Validation States */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

/* Form Group Focus State */
.form-group:focus-within label {
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Additional Form Element Consistency */
input[type="file"] {
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 18px 22px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--color-white);
    color: var(--text-primary);
    font-family: var(--font-body);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    min-height: 56px;
    line-height: 1.5;
    width: 100%;
}

input[type="file"]:focus {
    border-color: var(--color-accent);
    box-shadow: 
        0 0 0 4px rgba(185, 138, 61, 0.15),
        0 6px 20px rgba(185, 138, 61, 0.1);
    outline: none;
    transform: translateY(-2px);
}

input[type="file"]:hover:not(:focus) {
    border-color: var(--color-accent);
    box-shadow: 0 6px 16px rgba(185, 138, 61, 0.1);
    transform: translateY(-1px);
}

/* Character Counter Styling */
.text-muted {
    color: var(--text-white);
    font-size: 14px;
    margin-top: 0.5rem;
    display: block;
}

/* Form Validation Messages */
.invalid-feedback {
    color: #dc3545;
    font-size: 14px;
    margin-top: 0.5rem;
    display: block;
}

.valid-feedback {
    color: #28a745;
    font-size: 14px;
    margin-top: 0.5rem;
    display: block;
}

/* Ensure all form elements have consistent spacing */
.form-group .form-control,
.form-group input,
.form-group select,
.form-group textarea {
    margin-bottom: 0;
}

/* Remove any conflicting styles and force override */
.form-control-sm,
.form-control-lg,
input.form-control,
select.form-control,
textarea.form-control {
    padding: 10px 15px !important;
    font-size: 14px !important;
    min-height: 45px;
    border: 2px solid var(--color-border) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

/* Force override for all form elements in Add-Tour page */
#page_overview_tab .form-control,
#page_overview_tab input,
#page_overview_tab select,
#page_overview_tab textarea {
    border: 2px solid var(--color-border) !important;
    border-radius: 12px !important;
    padding: 0px;
    font-size: 14px !important;
    min-height: 24px !important;
    background: var(--color-white) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding-left: 10px;
}

#page_overview_tab .form-control:focus,
#page_overview_tab input:focus,
#page_overview_tab select:focus,
#page_overview_tab textarea:focus {
    border-color: var(--color-accent) !important;
    box-shadow: 
        0 0 0 4px rgba(185, 138, 61, 0.15),
        0 6px 20px rgba(185, 138, 61, 0.1) !important;
    outline: none !important;
    transform: translateY(-2px) !important;
}

/* Day Item Styles */
.day-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-soft);
    transition: all 0.3s ease;
}

.day-item:hover {
    box-shadow: var(--shadow-soft);
}

.remove-day {
    margin-top: 1.5rem;
}

/* Frontend-Inspired Button Styles for Add-Tour Page */
.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 35px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn:hover::before {
    opacity: 1;
}

.btn span, .btn i {
    position: relative;
    z-index: 2;
}

.btn:hover i {
    transform: scale(1.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border: 2px solid var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(60, 42, 30, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, #e7cfa3 100%);
    border-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(185, 138, 61, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: 2px solid #28a745;
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    border-color: #20c997;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(32, 201, 151, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border: 2px solid #6c757d;
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    border-color: #495057;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(73, 80, 87, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: 2px solid #dc3545;
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    border-color: #c82333;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(200, 35, 51, 0.4);
}

/* Add Day Button - Special Styling */
#add-day-btn {
    background: linear-gradient(135deg, var(--color-accent) 0%, #e7cfa3 100%);
    border: 2px solid var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(185, 138, 61, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#add-day-btn:hover {
    background: linear-gradient(135deg, #e7cfa3 0%, var(--color-accent) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(185, 138, 61, 0.4);
}

#add-day-btn i {
    margin-right: 8px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

#add-day-btn:hover i {
    transform: rotate(90deg) scale(1.1);
}

/* Remove Day Button - Special Styling */
.remove-day {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: 2px solid #dc3545;
    color: var(--color-white);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.remove-day:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 18px rgba(200, 35, 51, 0.4);
}

.remove-day i {
    font-size: 14px;
    transition: transform 0.3s ease;
    margin-top: 8px;
}

.remove-day:hover i {
    transform: scale(1.1);
}

/* Professional Card Styles for Add-Tour Page */
.card {
    border: 2px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(60, 42, 30, 0.08);
    margin-bottom: 2rem;
    background: var(--color-white);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 12px 40px rgba(60, 42, 30, 0.12);
    transform: translateY(-2px);
}

.card-body {
    padding: 20px 25px;
    background-color: var(--color-bg-light);
    font-family: var(--font-body);
}

.card h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 14px;
}

.card h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* Section Headers - High Specificity */
.card .section-header {
    margin-bottom: 2.5rem !important;
    padding-bottom: 14px !important;
    border-bottom: 2px solid var(--color-border) !important;
}

.card .section-header h5 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
    margin-bottom: 0.5rem !important;
    text-transform: uppercase;
    letter-spacing: 1px !important;
    font-family: var(--font-heading) !important;
    position: relative !important;
    padding-bottom: 14px !important;
}

.card .section-header h5::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 60px !important;
    height: 3px !important;
    background: var(--color-accent) !important;
    border-radius: 2px !important;
}

.card .section-header p {
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    margin: 0 !important;
}

/* Tab Content Animation */
.tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tours-bg .p-6 {
        padding: 14px !important;
    }
    
    .tours-bg .logo-icon {
        margin-right: 0.5rem !important;
    }
    
    .tours-bg .logo-icon i {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 14px;
    }
    
    .btn {
        padding: 0.5rem 14px;
        font-size: 13px;
    }
}

/* ========================================
   MOBILE TOPBAR STYLES
   ======================================== */

.mobile-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    height: 60px;
}

.mobile-topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 16px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1.5rem;
    padding: 8px;
    border-radius: var(--radius-soft);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-menu-toggle:hover {
    background: var(--color-bg-light);
    color: var(--color-accent);
    transform: scale(1.05);
}

.mobile-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-logo:hover {
    transform: scale(1.05);
}

.mobile-user-menu {
    display: flex;
    align-items: center;
}

.mobile-user-avatar {
    position: relative;
}

.mobile-user-avatar img {
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
}

.mobile-user-avatar:hover img {
    border-color: var(--color-accent);
    transform: scale(1.05);
}

/* Adjust main content for mobile topbar */
@media (max-width: 991.98px) {
    .page-layout {
        margin-top: 60px; /* Account for 60px mobile header */
    }
    
    .tours-bg {
        margin-top: 0;
        padding-top: 20px;
        min-height: 140px;
    }
    .main-content {
        margin-top: 60px;
        padding-top: 0;
        width: 500px;
    }
    
    .content-wrapper {
        padding-top: 0;
    }
    
    /* Ensure sidebar is hidden by default on mobile */
    .aside {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    /* Show sidebar when mobile menu is toggled */
    .aside.mobile-open {
        transform: translateX(0);
    }
    
    /* Add overlay for mobile sidebar */
    .mobile-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none !important;
    }

    /* Prevent body scroll when mobile sidebar is open */
    body.mobile-sidebar-open {
        overflow: hidden;
    }
    
    /* Ensure sidebar has proper z-index on mobile */
    .aside {
        z-index: 1050;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 280px;
        max-width: 80vw;
    }
}

/* Desktop - Hide mobile overlay completely */
@media (min-width: 992px) {
    .mobile-sidebar-overlay {
        display: none !important;
    }
}

/* ========================================
   FRONTEND DESIGN PATTERNS INTEGRATION
   ======================================== */

/* Frontend-Inspired Typography for Operator Panel */
.operator-panel h1, .operator-panel h2, .operator-panel h3, 
.operator-panel h4, .operator-panel h5, .operator-panel h6 {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.operator-panel h1 { font-size: 36px; }
.operator-panel h2 { font-size: 28px; }
.operator-panel h3 { font-size: 21px; }
.operator-panel h4 { font-size: 18px; }
.operator-panel h5 { font-size: 16px; }
.operator-panel h6 { font-size: 14px; }

/* Frontend-Inspired Button System for Operator Panel */
.btn-operator-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  transition: all ease-in-out 0.3s;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-soft);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-operator-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to right, var(--color-light) 0%, var(--color-dark) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.btn-operator-primary:hover::before {
  opacity: 1;
}

.btn-operator-primary:hover {
  background: transparent;
  color: var(--color-white);
  border-radius: var(--radius-btn);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(60, 42, 30, 0.3);
}

.btn-operator-primary span {
  position: relative;
  z-index: 2;
}

.btn-operator-accent {
  display: inline-block;
  color: #fff;
  transition: all ease-in-out 0.3s;
  background: linear-gradient(90deg, var(--color-accent) 0%, #e7cfa3 100%);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  height: auto;
  border: none;
  border-radius: var(--radius-soft);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-operator-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-dark) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.btn-operator-accent:hover::before {
  opacity: 1;
}

.btn-operator-accent:hover {
  background: transparent;
  color: var(--color-white);
  border-radius: var(--radius-btn);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185, 138, 61, 0.4);
}

.btn-operator-accent span {
  position: relative;
  z-index: 2;
}

/* Frontend-Inspired Card System for Operator Panel */
.card-operator {
  border-radius: var(--radius-hard);
  box-shadow: 0 4px 32px rgba(60, 42, 30, 0.10), 0 1.5px 4px rgba(60, 42, 30, 0.08);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s cubic-bezier(.4,2,.3,1), transform 0.3s cubic-bezier(.4,2,.3,1);
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.card-operator:hover {
  box-shadow: 0 12px 40px rgba(60, 42, 30, 0.18), 0 2px 8px rgba(60, 42, 30, 0.12);
  transform: translateY(-6px) scale(1.025);
  z-index: 3;
}

.card-operator-image {
  overflow: hidden;
  border-radius: var(--radius-hard) var(--radius-hard) 0 0;
  position: relative;
}

.card-operator-image img {
  transition: transform 0.4s cubic-bezier(.4,2,.3,1);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-operator:hover .card-operator-image img {
  transform: scale(1.04);
}

.card-operator-content {
  padding: 20px 24px 24px;
  background: #fff;
  margin-bottom: 5px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-operator-content h3 {
  text-transform: capitalize;
  margin-top: 5px;
  margin-bottom: 1px;
  color: var(--color-primary);
  font-weight: 600;
}

.card-operator-content p {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

/* Frontend-Inspired Section Headings for Operator Panel */
.section-title-operator {
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 30px;
  position: relative;
}

.section-title-operator::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* Frontend-Inspired Form Elements for Operator Panel */
.form-control-operator {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-soft);
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: var(--input-bg);
  color: var(--text-primary);
}

.form-control-operator:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(185, 138, 61, 0.2);
  outline: none;
}

.form-control-operator:hover:not(:focus) {
  border-color: var(--color-accent);
}

/* Frontend-Inspired Labels for Operator Panel */
label.operator-label {
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--text-primary);
  font-size: 14px;
}

/* Frontend-Inspired Badge System for Operator Panel */
.badge-operator {
  display: inline-block;
  padding: 8px 15px;
  margin-bottom: 15px;
  color: #fff;
  background: var(--color-accent);
  border-radius: var(--radius-soft);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Frontend-Inspired Navigation Arrows for Operator Panel */
.nav-arrow-operator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-arrow-operator:hover {
  background: var(--color-accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(60, 42, 30, 0.3);
}

.nav-arrow-operator.prev {
  left: -25px;
}

.nav-arrow-operator.next {
  right: -25px;
}

/* ========================================
   SIDEBAR LAYOUT STYLES - NO TOPBAR
   ======================================== */

/* Sidebar Header with Logo */
.aside-toolbar {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.sidebar-logo:hover {
    transform: scale(1.05);
}

.toggle-aside-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border-radius: var(--radius-soft);
    padding: 8px;
    transition: all 0.3s ease;
}

.toggle-aside-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    transform: scale(1.05);
}

.toggle-aside-button i {
    font-size: 14px;
}

/* Profile Menu Styling */
#collapse-profile, #collapse-packages, #collapse-inquiries, #collapse-users, #collapse-reviews {
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-soft);
    margin: 4px 8px;
    padding: 4px 0;
}

#collapse-profile .nav-link, #collapse-packages .nav-link, #collapse-inquiries .nav-link,  #collapse-users .nav-link, #collapse-reviews .nav-link {
    padding: 8px 16px 8px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

#collapse-profile .nav-link:hover, #collapse-packages .nav-link:hover, #collapse-inquiries .nav-link:hover,  #collapse-users .nav-link:hover, #collapse-reviews .nav-link:hover {
    background: rgba(185, 138, 61, 0.2);
    color: var(--color-white);
    padding-left: 24px;
}

#collapse-profile .nav-link i, #collapse-packages .nav-link i, #collapse-inquiries .nav-link i, #collapse-users .nav-link i, #collapse-reviews .nav-link i {
    width: 16px;
    font-size: 14px;
    margin-right: 8px;
}

/* Bottom Section - User Info & Logout */
.sidebar-bottom {
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.user-info {
    background: rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-details {
    flex: 1;
    min-width: 0;
}

.username {
    font-weight: 500;
    color: var(--color-white);
    font-size: 12px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 5px;
}

.user-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 5px;
}

.avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #10b981;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: var(--color-white);
}

.status.text-green {
    background: #10b981;
}

/* Logout Section */
.logout-section {
    background: rgba(0, 0, 0, 0.05);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #ef4444;
    text-decoration: none;
    border-radius: var(--radius-soft);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    text-decoration: none;
    transform: translateX(4px);
}

.logout-btn i {
    width: 20px;
    text-align: center;
    font-size: 14px;
}

/* Main Content Adjustments for No Topbar */
.main-content {
    margin-top: 0;
    padding-top: 0;
}

.content-wrapper {
    padding-top: 0;
}

/* Mobile Responsive for Sidebar */
@media (max-width: 768px) {
    .aside-toolbar {
        padding: 12px 16px;
    }
    
    .sidebar-logo {
        height: 35px;
    }
    
    .toggle-aside-button {
        padding: 6px;
    }
    
    .toggle-aside-button i {
        font-size: 14px;
    }
    
    .user-info {
        padding: 12px 16px;
    }
    
    .avatar {
        width: 35px;
        height: 35px;
    }
    
    .username {
        font-size: 13px;
    }
    
    .user-role {
        font-size: 0.7rem;
    }
    
    .logout-section {
        padding: 12px 16px;
    }
    
    .logout-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .logout-btn i {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .aside-toolbar {
        padding: 10px 12px;
    }
    
    .sidebar-logo {
        height: 30px;
    }
    
    .user-info {
        padding: 10px 12px;
    }
    
    .avatar {
        width: 32px;
        height: 32px;
    }
    
    .username {
        font-size: 0.75rem;
    }
    
    .user-role {
        font-size: 0.65rem;
    }
    
    .logout-section {
        padding: 10px 12px;
    }
    
    .logout-btn {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
}

/* ========================================
   GALLERY MODAL STYLING
   ======================================== */

.gallery-modal .modal-dialog {
    max-width: 95vw;
    width: 95vw;
    margin: 14px auto;
}

.gallery-modal .modal-content {
    height: 90vh;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.gallery-modal .modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--color-border);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral) 100%);
    color: var(--color-white);
    border-radius: 16px 16px 0 0;
}

.gallery-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.gallery-modal .modal-header .close {
    color: var(--color-white);
    opacity: 0.8;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.gallery-modal .modal-header .close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.gallery-modal .modal-body {
    padding: 0;
    height: calc(90vh - 120px);
    overflow: hidden;
}

.gallery-modal .modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--color-border);
    background: var(--color-bg-light);
    border-radius: 0 0 16px 16px;
}

/* Responsive adjustments for gallery modal */
@media (max-width: 1200px) {
    .gallery-modal .modal-dialog {
        max-width: 98vw;
        width: 98vw;
    }
}

@media (max-width: 768px) {
    .gallery-modal .modal-dialog {
        max-width: 100vw;
        width: 100vw;
        margin: 0;
        height: 100vh;
    }
    
    .gallery-modal .modal-content {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .gallery-modal .modal-header {
        padding: 14px 1.5rem;
        border-radius: 0;
    }
    
    .gallery-modal .modal-title {
        font-size: 1.25rem;
    }
    
    .gallery-modal .modal-body {
        height: calc(100vh - 120px);
    }
    
    .gallery-modal .modal-footer {
        padding: 14px 1.5rem;
        border-radius: 0;
    }
}

/* ========================================
   MEAL OPTIONS ROW STYLING
   ======================================== */

.meal-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    padding: 5px;
    background: var(--color-bg-light);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 1px;
}

.meal-options-row .form-check-inline {
    margin-top:10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0px;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.meal-options-row .form-check-input {
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-white);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}

.meal-options-row .form-check-input:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 2px 8px rgba(185, 138, 61, 0.3);
}

.meal-options-row .form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-weight: bold;
    font-size: 12px;
}

.meal-options-row .form-check-input:hover {
    border-color: var(--color-accent);
    transform: scale(1.05);
}

.meal-options-row .form-check-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 12px;
    cursor: pointer;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    flex: 1;
    text-align: justify;
    padding: 5px 15px 0px 0px;
}

.meal-options-row .form-check-input:checked + .form-check-label {
    color: var(--color-accent);
    font-weight: 600;
    padding: 5px 15px 0px 0px;
}

.meal-options-row .form-check-inline:has(.form-check-input:checked) {
    background: rgba(185, 138, 61, 0.1);
    border: 2px solid var(--color-accent);
    border-radius: 8px;
}

.meal-options-row .form-check-inline:hover {
    background: rgba(185, 138, 61, 0.05);
    border-color: var(--color-accent);
}

.meal-options-row .meal-checkbox-clicked {
    transform: scale(1.1);
    transition: transform 0.1s ease;
}

/* Accommodation Info Box Styling */
.accommodation-info-box {
    background: rgba(13, 110, 253, 0.05);
    border: 1px solid rgba(13, 110, 253, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
}

.accommodation-info-box small {
    font-size: 12px;
    line-height: 1.2;
}

.accommodation-info-box a {
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted currentColor;
}

.accommodation-info-box a:hover {
    text-decoration: none;
    color: #0a58ca !important;
    border-bottom: 1px solid currentColor;
}

/* Day Item Header Styling - Align heading and button in one line */
.day-item .card-header {
    padding: 8px 16px !important;
    min-height: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.day-item .card-header h5 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
}

.day-item .card-header .btn {
    margin: 0 !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.day-item .card-header .btn i {
    margin-right: 4px !important;
    font-size: 11px !important;
}
.day-item .card-header span{
    padding-left: 5px !important;
}
/* Remove the line below "Day :" text */
.day-item .card-header h5::after {
    display: none !important;
}

.day-item .card-header h5::before {
    display: none !important;
}

/* Remove any border or line styling from the day header */
.day-item .card-header {
    border-bottom: none !important;
    box-shadow: none !important;
}

.day-item .card-header h5 {
    border-bottom: none !important;
    text-decoration: none !important;
}
.accommodation-info-box i{
    font-size: 15px;
}

/* Mobile Page Header Styling - 3-row layout */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 15px !important;
        display: flex !important;
        justify-content: flex-start !important;
    }
    
    .page-header .col-12.col-sm {
        margin-bottom: 10px !important;
        text-align: left !important;
        order: 1 !important;
        flex: none !important;
        min-width: 0 !important;
    }
    
    .page-header .col-12.col-sm-auto {
        width: 100% !important;
        flex: none !important;
        order: 2 !important;
        display: block !important;
        margin-left: 0 !important;
    }
    
    .page-header .d-flex.gap-3 {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
        display: flex !important;
        width: 100% !important;
    }
    
    .page-header .btn {
        flex: 1 !important;
        min-width: 0 !important;
        font-size: 12px !important;
        padding: 8px 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        position: relative !important;
    }
    
    .page-header .btn i {
        margin-right: 4px !important;
        font-size: 11px !important;
    }
    
    /* Adjust logo section for mobile */
    .page-header .logo {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .page-header .logo-text .h4 {
        font-size: 18px !important;
        margin-bottom: 5px !important;
        line-height: 1.2 !important;
    }
    
    .page-header .logo-text .text-muted {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }
    
    .page-header .logo-icon {
        margin-right: 10px !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .page-header {
        padding: 10px !important;
    }
    
    .page-header .col-12.col-sm {
        margin-bottom: 8px !important;
    }
    
    .page-header .d-flex.gap-3 {
        gap: 8px !important;
    }
    
    .page-header .btn {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    
    .page-header .btn i {
        margin-right: 3px !important;
        font-size: 10px !important;
    }
    
    .page-header .logo-text .h4 {
        font-size: 16px !important;
    }
    
    .page-header .logo-text .text-muted {
        font-size: 11px !important;
    }
}

/* Force button visibility on mobile - Override any hiding styles */
@media (max-width: 768px) {
    .page-header .btn#save-draft-btn,
    .page-header .btn#publish-btn {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        width: 50% !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Ensure the button container is visible */
    .page-header .col-12.col-sm-auto .d-flex {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Placeholder Styling - Make them visible and properly colored */
.form-control::placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
    font-size: 13px;
}

.form-control::-webkit-input-placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
    font-size: 13px;
}

.form-control::-moz-placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
    font-size: 13px;
}

.form-control:-ms-input-placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
    font-size: 13px;
}

.form-control:-moz-placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
    font-size: 13px;
}

/* Ensure placeholders are visible even when not focused */
.form-control:not(:focus)::placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
}

.form-control:not(:focus)::-webkit-input-placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
}

.form-control:not(:focus)::-moz-placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
}

.form-control:not(:focus):-ms-input-placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
}

.form-control:not(:focus):-moz-placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
}

/* Force placeholder visibility - Override any conflicting styles */
input[type="text"]::placeholder,
input[type="text"]::-webkit-input-placeholder,
input[type="text"]::-moz-placeholder,
input[type="text"]:-ms-input-placeholder,
input[type="text"]:-moz-placeholder,
textarea::placeholder,
textarea::-webkit-input-placeholder,
textarea::-moz-placeholder,
textarea:-ms-input-placeholder,
textarea:-moz-placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
    font-size: 13px !important;
    visibility: visible !important;
    display: block !important;
}

/* Global checkbox label hover styles - only for specific sections */
.tour-features .form-check:hover .form-check-label,
.meal-options-row .form-check:hover .form-check-label,
.inclusion-options .form-check:hover .form-check-label {
    color: var(--color-accent);
}

/* ========================================
   SIMPLIFIED FORM STYLING - FIXED HIGHLIGHTING
   ======================================== */

/* Reset all form inputs to prevent global highlighting */
input[type="checkbox"],
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-white);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

/* Checkbox specific styling */
input[type="checkbox"]:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 2px 8px rgba(185, 138, 61, 0.3);
}

input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-weight: bold;
    font-size: 12px;
}

/* Radio button specific styling */
input[type="radio"] {
    border-radius: 50%;
}

input[type="radio"]:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 2px 8px rgba(185, 138, 61, 0.3);
}

input[type="radio"]:checked::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hover effects */
input[type="checkbox"]:hover,
input[type="radio"]:hover {
    border-color: var(--color-accent);
    transform: scale(1.05);
}

/* Focus effects - prevent global highlighting */
input[type="checkbox"]:focus,
input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(185, 138, 61, 0.2);
}

/* Basic form check styling */
.form-check {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-label {
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    margin: 0;
}

/* Tour features specific styling - simplified */
.tour-features .form-check {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem 2rem 1.5rem 3rem;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    min-height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    cursor: pointer;
}

.tour-features /* Global checkbox container hover styles - only for specific sections */
.tour-features .form-check:hover,
.meal-options-row .form-check:hover,
.inclusion-options .form-check:hover {
    border-color: var(--color-accent);
    box-shadow: 0 6px 20px rgba(185, 138, 61, 0.15);
    transform: translateY(-2px);
}

.tour-features input[type="checkbox"],
.tour-features input[type="radio"] {
    width: 28px;
    height: 28px;
    margin-left: -3rem;
    flex-shrink: 0;
}

.tour-features .form-check-label {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 16px;
    cursor: pointer;
    padding-left: 14px;
    transition: color 0.3s ease;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: var(--font-heading);
    margin: 0;
}

.tour-features /* Global checkbox label hover styles - only for specific sections */
.tour-features .form-check:hover .form-check-label,
.meal-options-row .form-check:hover .form-check-label,
.inclusion-options .form-check:hover .form-check-label {
    color: var(--color-accent);
}

.tour-features .form-check:has(input:checked) {
    background: rgba(185, 138, 61, 0.05);
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(185, 138, 61, 0.2);
}

/* Private/Shared Tour embedded selects */
.tour-features select {
    display: inline-block !important;
    width: auto !important;
    margin: 0 5px !important;
    padding: 4px 8px !important;
    font-size: 14px !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    background-color: white !important;
}

/* Section headers */
.tour-features .section-header h5 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.tour-features .section-header h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

.tour-features .section-header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 1.5rem;
}

/* ========================================
   QUILL EDITOR STYLES
   ======================================== */

.ql-editor {
    min-height: 150px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.ql-toolbar {
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 12px 16px;
}

.ql-container {
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    font-family: inherit;
}

.ql-toolbar .ql-stroke {
    stroke: #6c757d;
}

.ql-toolbar .ql-fill {
    fill: #6c757d;
}

.ql-toolbar button:hover .ql-stroke {
    stroke: var(--color-primary);
}

.ql-toolbar button:hover .ql-fill {
    fill: var(--color-primary);
}

.ql-toolbar button.ql-active .ql-stroke {
    stroke: var(--color-primary);
}

.ql-toolbar button.ql-active .ql-fill {
    fill: var(--color-primary);
}

.ql-toolbar .ql-picker-label {
    color: #6c757d;
}

.ql-toolbar .ql-picker-label:hover {
    color: var(--color-primary);
}

.ql-toolbar .ql-picker.ql-expanded .ql-picker-label {
    color: var(--color-primary);
}

.ql-snow .ql-tooltip {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ql-snow .ql-tooltip input[type=text] {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

/* ========================================
   GALLERY SELECTION STYLES
   ======================================== */

.gallery-selection-container {
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
}

.selected-image-preview {
    margin-bottom: 15px;
}

.selected-image-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.no-image-placeholder {
    padding: 20px;
}

.gallery-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.gallery-image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-image-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.gallery-image-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 53, 69, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 12px;
    cursor: pointer;
}

.gallery-browser {
    display: flex;
    gap: 20px;
    height: 100%;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.gallery-browser.full-width {
    gap: 0;
}

.gallery-categories {
    width: 280px;
    border-right: 2px solid #e9ecef;
    padding-right: 20px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-categories.hidden {
    width: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

.gallery-content {
    flex: 1;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-content.full-width {
    margin-left: 0;
}

.gallery-content::-webkit-scrollbar {
    width: 8px;
}

.gallery-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.gallery-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.gallery-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.category-section {
    margin-bottom: 20px;
}

.category-section h6 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-btn {
    text-align: left;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.category-btn.active {
    background-color: var(--color-accent);
    color: white;
    border-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.category-btn.btn-outline-info {
    border-color: #17a2b8;
    color: #17a2b8;
}

.category-btn.btn-outline-info:hover {
    background-color: #17a2b8;
    color: white;
}

.category-btn.btn-outline-info.active {
    background-color: #17a2b8;
    color: white;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    padding: 10px;
}

.images-grid.full-width {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.image-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: white;
    border: 3px solid transparent;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--color-accent);
}

.image-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

.image-item.selected {
    border-color: #28a745;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    transform: translateY(-5px);
}

.image-item .select-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 167, 69, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    backdrop-filter: blur(2px);
}

.image-item.selected .select-overlay {
    display: flex;
}

.image-item .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    backdrop-filter: blur(2px);
}

.image-item:hover .hover-overlay {
    display: flex;
}

.image-item.selected:hover .hover-overlay {
    display: none;
}

.image-item .image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-item:hover .image-info {
    transform: translateY(0);
}

.image-item.selected .image-info {
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(40, 167, 69, 0.9));
}

.selected-count {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 20px;
}

.modal-footer .btn {
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #0056b3);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.modal-footer .btn-secondary {
    background: #6c757d;
    border: none;
}

.modal-footer .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.loading-spinner {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #6c757d;
}

.loading-spinner .fa-spinner {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--color-accent);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #6c757d;
    text-align: center;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}

.gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.gallery-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-breadcrumb .btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.gallery-breadcrumb .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.gallery-breadcrumb .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
    transform: translateX(-3px);
}

.gallery-breadcrumb .breadcrumb-text {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

.gallery-breadcrumb .breadcrumb-text i {
    margin-right: 8px;
    color: var(--color-accent);
}

/* ========================================
   GALLERY INITIAL SELECTION STYLES
   ======================================== */

.gallery-initial-selection {
    padding: 40px 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selection-options {
    width: 100%;
    max-width: 800px;
}

.browse-all-option {
    margin-bottom: 40px;
    text-align: center;
}

.browse-all-btn {
    background: linear-gradient(135deg, var(--color-accent), #0056b3);
    border: none;
    color: white;
    padding: 30px 40px;
    border-radius: 16px;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 120px;
    justify-content: center;
}

.browse-all-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.4);
    color: white;
}

.browse-all-btn i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.browse-all-btn small {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.5px;
}

.countries-section {
    text-align: center;
}

.countries-section h6 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 100%;
}

.country-option-btn {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    color: #495057;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-option-btn:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* ========================================
   SEARCH SECTION STYLES
   ======================================== */

.search-section {
    margin-left: auto;
    max-width: 400px;
}

.search-section .input-group {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.search-section .form-control {
    border: 2px solid #e9ecef;
    border-right: none;
    padding: 12px 16px;
    font-size: 14px;
}

.search-section .form-control:focus {
    border-color: var(--color-accent);
    box-shadow: none;
}

.search-section .input-group-text {
    background: var(--color-accent);
    border: 2px solid var(--color-accent);
    color: white;
    padding: 12px 16px;
}

/* ========================================
   IMAGES CONTAINER STYLES
   ======================================== */

.images-container {
    height: calc(100% - 80px);
    overflow-y: auto;
    padding: 20px;
}

.images-container .images-grid {
    height: auto;
}

/* ========================================
   INCLUSION SECTION STYLES
   ======================================== */

.inclusion-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.inclusion-section .section-title {
    color: #333;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.inclusion-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.inclusion-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: var(--color-accent);
}

.inclusion-label {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.inclusion-label strong {
    color: #495057;
    font-weight: 600;
}

.inclusion-options {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.inclusion-options .form-check {
    margin-bottom: 0;
}

.inclusion-options .form-check-input {
    display: none;
}

.inclusion-options .form-check-label {
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0;
    padding: 8px 16px;
    border-radius: 6px;
    border: 2px solid #e9ecef;
    background: #f8f9fa;
    color: #6c757d;
    transition: all 0.3s ease;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inclusion-options .btn-include {
    border-color: #28a745;
    color: #28a745;
}

.inclusion-options .btn-include:hover {
            background-color: #28a745;
            color: white;
        }
        
.inclusion-options .btn-exclude {
    border-color: #dc3545;
    color: #dc3545;
}

.inclusion-options .btn-exclude:hover {
    background-color: #dc3545;
    color: white;
}

.inclusion-options .form-check-input:checked + .btn-include {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.inclusion-options .form-check-input:checked + .btn-exclude {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.inclusion-options .form-control {
    display: inline-block;
    width: auto;
    min-width: 100px;
    margin: 0 5px;
    padding: 4px 8px;
    font-size: 13px;
}

/* Mobile styling for inclusion/exclusion items */
@media (max-width: 768px) {
    .inclusion-item {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    
    .inclusion-options {
        order: 1 !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .inclusion-label {
        order: 2 !important;
        text-align: center !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-top: 0 !important;
    }
    
    .inclusion-options .form-check-label {
        flex: 1 !important;
        text-align: center !important;
        font-size: 12px !important;
        padding: 10px 12px !important;
    }
}

/* ========================================
   PRICING SECTION STYLES
   ======================================== */

.pricing-rule {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    position: relative;
}

.pricing-rule:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pricing-rule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pricing-rule-title {
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.delete-pricing-rule {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-pricing-rule:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.pricing-dates {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.pricing-dates .form-group {
    flex: 1;
}

.pricing-dates .form-control {
    border: none;
    border-bottom: 2px solid #e9ecef;
    border-radius: 0;
    padding: 8px 0;
    background: transparent;
}

.pricing-dates .form-control:focus {
    border-bottom-color: var(--color-accent);
    box-shadow: none;
}

.pricing-rates {
    display: flex;
    gap: 15px;
    align-items: end;
}

.pricing-rate-item {
    flex: 1;
    text-align: center;
}

.pricing-rate-item label {
    display: block;
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
    font-size: 13px;
}

.pricing-rate-item input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #e9ecef;
    border-radius: 0;
    padding: 8px 0;
    text-align: center;
    background: transparent;
}

.pricing-rate-item input:focus {
    border-bottom-color: var(--color-accent);
    box-shadow: none;
}

.pricing-rate-item input::placeholder {
    color: #adb5bd;
}

/* Mobile styling for pricing rules */
@media (max-width: 768px) {
    .pricing-rates {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
    }
    
    .pricing-rate-item {
        flex: none !important;
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 15px 20px !important;
        background: #f8f9fa !important;
        border-radius: 10px !important;
        border: 1px solid #e9ecef !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
        min-height: 60px !important;
    }
    
    .pricing-rate-item label {
        margin-bottom: 0 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #495057 !important;
        flex: 1 !important;
        text-align: left !important;
        line-height: 1.4 !important;
        padding-right: 15px !important;
    }
    
    .pricing-rate-item input {
        width: 100px !important;
        min-width: 100px !important;
        border: 2px solid #e9ecef !important;
        border-radius: 8px !important;
        padding: 10px 12px !important;
        text-align: center !important;
        background: white !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #495057 !important;
        flex-shrink: 0 !important;
    }
    
    .pricing-rate-item input:focus {
        border-color: var(--color-accent) !important;
        box-shadow: 0 0 0 0.2rem rgba(185, 138, 61, 0.25) !important;
        outline: none !important;
    }
    
    .pricing-dates {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
    }
    
    .pricing-dates .form-group {
        flex: 1 !important;
    }
    
    .pricing-rule-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
    }
    
    .pricing-rule-title {
        margin-bottom: 0 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #495057 !important;
    }
    
    .delete-pricing-rule {
        align-self: flex-end !important;
        margin-top: 0 !important;
        padding: 8px 16px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
    }
    
    .pricing-rule {
        margin-bottom: 25px !important;
        padding: 20px !important;
        background: white !important;
        border-radius: 12px !important;
        border: 1px solid #e9ecef !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    }
}

/* ========================================
   FIELD VALIDATION STYLES
   ======================================== */

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.field-error-message {
    display: block;
    margin-top: 0.25rem;
    font-size: 14px;
    color: #dc3545;
    font-weight: 500;
}

.form-group {
    position: relative;
}




/* Reviews */
.tours-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

.tours-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.tours-bg > * {
    position: relative;
    z-index: 2;
}


/* Review Statistics Card */
.review-statistics-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 20px;
}

.review-statistics-card .section-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 14px;
    font-size: 16px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-label {
    width: 80px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.rating-progress {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin: 0 10px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107 0%, #ff8f00 100%);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.rating-count {
    width: 30px;
    text-align: right;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.overall-rating {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.rating-display {
    margin-bottom: 15px;
}

.rating-number {
    font-size: 4rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stars {
    margin: 10px 0;
}

.stars i {
    font-size: 14px;
    color: #ddd;
    margin: 0 2px;
}

.stars i.active {
    color: #ffc107;
}

.rating-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Reviews Controls */

.reviews-controls .form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    width: 85px;
}

.reviews-info {
    color: #666;
    font-size: 14px;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-controls .form-control {
    width: auto;
    min-width: 150px;
}

/* Review Items */

.reviews-grid .row {
    margin-bottom: 1.5rem;
}

/* Review Card */
.review-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--color-accent);
}

/* Review Card Header */
.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0 20px;
    margin-bottom: 15px;
    gap: 20px;
}

/* Left Side: Reviewer Info Section */
.reviewer-info-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.reviewer-details {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.separator {
    color: #666;
    font-weight: 400;
    margin: 0 2px;
}

.country-flag {
    display: inline-flex;
    align-items: center;
    margin: 0 4px;
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #e0e0e0;
}

.flag-placeholder {
    font-size: 16px;
    margin: 0 4px;
}

.reviewer-country {
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.travel-date {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
}

/* Middle: Rating Section */
.rating-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 20px;
    flex-shrink: 0;
}

/* Middle: Rating Section */
.rating-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 120px;
}

.rating-section-header .stars {
    display: flex;
    gap: 2px;
}

.rating-section-header .stars i {
    color: #e9ecef;
    font-size: 1.14px;
    transition: color 0.2s ease;
}

.rating-section-header .stars i.active {
    color: #ffc107;
}

.rating-section-header .rating-value {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

/* Right Side: Report Button */
.review-actions {
    flex-shrink: 0;
}

.btn-report {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-report:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.btn-report i {
    font-size: 0.75rem;
}

/* Review Card Content */
.review-card-content {
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Review Title */
.review-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

/* Review Message */
.review-message {
    margin: 0 0 15px 0;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Travel Date Info */
.travel-date-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    margin-top: auto;
    width: fit-content;
}

.travel-date-info i {
    color: #6c757d;
    font-size: 0.75rem;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 2rem;
}

.pagination {
    margin-bottom: 15px;
}

.pagination .page-link {
    color: var(--color-accent);
    border: 1px solid #dee2e6;
    padding: 0px 12px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.pagination .page-item.active .page-link {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}

.pagination-info {
    font-size: 14px;
    color: #666;
}

/* Empty State */
.empty-state {
    padding: 60px 20px;
    color: #666;
}

.empty-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h5 {
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.empty-state p {
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-grid .row {
        margin-bottom: 14px;
    }
    
    .review-card {
        margin-bottom: 14px;
    }
    
    /* Mobile: Stack all header elements in separate rows */
    .review-card-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 15px 0 15px;
        align-items: stretch;
    }
    
    .review-card-header {
        flex-direction: column;
        gap: 12px;
        padding: 15px 15px 0 15px;
    }
    
    .reviewer-info-section {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .reviewer-details {
        flex-wrap: wrap;
        gap: 2px;
    }
    
    .reviewer-name {
        font-size: 15px;
    }
    
    .flag-icon {
        width: 18px;
        height: 13px;
    }
    
    .flag-placeholder {
        font-size: 14px;
    }
    
    .reviewer-country {
        font-size: 13px;
    }
    
    .travel-date {
        font-size: 13px;
    }
    
    .rating-section {
        width: 100%;
        justify-content: flex-start;
        margin: 0;
    }
    
    /* Row 2: Rating Section */
    .rating-section-header {
        align-self: center;
        min-width: auto;
        flex-direction: row;
        gap: 10px;
    }
    
    .rating-section-header .stars i {
        font-size: 14px;
    }
    
    .rating-section-header .rating-value {
        font-size: 0.85rem;
    }
    
    /* Row 3: Report Button */
    .review-actions {
        align-self: center;
    }
    
    .btn-report {
        font-size: 0.75rem;
        padding: 6px 12px;
        width: 100%;
        justify-content: center;
    }
    
    .review-card-content {
        padding: 0 15px 15px 15px;
    }
    
    .review-title {
        font-size: 15px;
    }
    
    .review-message {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }
    
    .sort-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .sort-controls .form-control {
        width: 100%;
    }
    
    .rating-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .rating-progress {
        width: 100%;
        margin: 0;
    }
    
    .rating-count {
        text-align: left;
        width: auto;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-accent);
}

.stat-label {
    font-size: 13px;
    color: #6c757d;
}

.review-statistics-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-label {
    width: 80px;
    font-size: 13px;
}

.rating-progress {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin: 0 10px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: #ffc107;
    transition: width 0.3s ease;
}

.rating-count {
    width: 30px;
    text-align: right;
    font-size: 13px;
}

.overall-rating {
    text-align: center;
    padding: 20px;
}

.rating-display {
    margin-bottom: 10px;
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-accent);
    display: block;
}

.stars {
    margin: 10px 0;
}

.stars i {
    font-size: 1.5rem;
    color: #e9ecef;
    margin: 0 2px;
}

.stars i.active {
    color: #ffc107;
}

.rating-text {
    color: #6c757d;
    margin: 0;
}

/* Reviews Controls */
.reviews-controls {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reviews-info {
    font-size: 13px;
    color: #6c757d;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.sort-controls label {
    margin: 0;
    font-weight: 500;
    color: #495057;
}

.sort-controls select {
    width: 200px;
}

/* Pagination */
.pagination-wrapper {
    width: 100%;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pagination {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination .page-link {
    color: #495057;
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding: 0px 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 44px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: var(--shadow-card);
}

.pagination .page-link:hover {
    color: var(--color-accent);
    background-color: #e9ecef;
    border-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.pagination .page-item.active .page-link {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    font-weight: 600;
}

.pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8f9fa;
    border-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}

.pagination-info {
    text-align: center;
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination-wrapper {
        padding: 20px 15px;
        margin-top: 30px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .pagination .page-link {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 40px;
    }
    
    .pagination-info {
        font-size: 13px;
    }
}

/* Profile Page Styles */
.file-upload-container {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.file-upload-container:hover {
    border-color: var(--color-accent);
    background: #e3f2fd;
}

.file-upload-preview {
    margin-bottom: 15px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
}

.file-upload-preview img {
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-image-placeholder {
    color: #6c757d;
    text-align: center;
}

.no-image-placeholder i {
    margin-bottom: 10px;
}

.file-upload-container input[type="file"] {
    margin-top: 10px;
    border: none;
    background: transparent;
    padding: 0;
}

.file-upload-container input[type="file"]:focus {
    outline: none;
    box-shadow: none;
}

/* Section Header */
.section-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.section-header h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.section-header p {
    color: #6c757d;
    margin: 0;
    font-size: 14px;
}

/* Form Enhancements */
.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Multi-select styling */
select[multiple] {
    min-height: 120px;
}

select[multiple] option {
    padding: 8px 12px;
}

/* Simple checkbox styling */
.form-check {
    margin-bottom: 8px;
}

.form-check-input:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.form-check-label {
    font-weight: 500;
    color: #555;
    cursor: pointer;
    margin-left: 5px;
}

/* Countries Covered Section Styling */
.countries-covered-section {
    margin-top: 0px;
    font-family: var(--font-body);
}

.countries-covered-section .section-header {
    margin-bottom: 15px;
}

.countries-covered-section .section-header h5 {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.countries-covered-section .section-header p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.countries-covered-section .form-check {
    margin-bottom: 0px;
    padding: 8px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #fafafa;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: flex-start; /* Align to top for multi-line text */
    min-height: 45px;
}

.countries-covered-section .form-check:hover {
    background: #f0f0f0;
    border-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.countries-covered-section .form-check-input:checked + .form-check-label {
    color: var(--color-primary);
    font-weight: 600;
}

.countries-covered-section .form-check-input {
    margin-right: 12px;
    margin-top: 2px; /* Slight top margin to align with first line of text */
    flex-shrink: 0;
}

.countries-covered-section .form-check-label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
    flex: 1;
    line-height: 1.4;
    text-transform: none;
    font-family: var(--font-body);
}

.countries-covered-section .form-check:has(.form-check-input:checked) {
    background: rgba(212, 165, 116, 0.1);
    border-color: var(--color-accent);
}

.countries-covered-section .checkbox-controls {
    margin-top: 10px;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.countries-covered-section .checkbox-controls .btn {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.countries-covered-section .checkbox-controls .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Grid Layout Fixes for Checkbox Sections */
.countries-covered-section .row {
    margin-left: -8px;
    margin-right: -8px;
}

.countries-covered-section .col-sm-3,
.countries-covered-section .col-sm-4 {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 8px;
    flex: 0 0 25%; /* Ensure col-sm-3 takes exactly 25% width */
    max-width: 25%; /* Prevent overflow */
}

.countries-covered-section .col-sm-6 {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 8px;
    flex: 0 0 50%; /* Ensure col-sm-3 takes exactly 25% width */
    max-width: 50%; /* Prevent overflow */
    height: auto-fit;
}

/* Ensure consistent spacing in grid - let Bootstrap handle the grid */
.countries-covered-section .row > [class*="col-"] {
    margin-bottom: 0px !important;
}

.countries-covered-section .row > [class*="col-"] .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    width: 100%;
    min-width: 0; /* Allow shrinking */
    overflow: hidden; /* Prevent content overflow */
}

.countries-covered-section .form-check-label {
    padding-left: 0px !important;
    text-align: left;
    min-width: auto;
    flex: 1;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words if needed */
    overflow-wrap: break-word; /* Modern property for word breaking */
    line-height: 1.4; /* Better line spacing for wrapped text */
}

/* Radio Button Alignment Fixes */
.countries-covered-section .form-check input[type="radio"] {
    margin-right: 1px;
    margin-top: 0;
    flex-shrink: 0;
}

.countries-covered-section .form-check input[type="checkbox"] {
    margin-right: 1px;
    margin-top: 0;
    flex-shrink: 0;
}

/* Section Header Alignment */
.countries-covered-section .section-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.countries-covered-section .section-header h5 {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.countries-covered-section .section-header p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .countries-covered-section .row {
        margin-left: -4px;
        margin-right: -4px;
    }
    
    .countries-covered-section .col-sm-3,
    .countries-covered-section .col-sm-4,
    .countries-covered-section .col-sm-6 {
        padding-left: 0px;
        padding-right: 0px;
        margin-bottom: 2px;
        flex: 0 0 100%; /* Ensure col-sm-3 takes exactly 25% width */
        max-width: 100%;
    }
    
    .countries-covered-section .form-check {
        padding: 10px 12px;
        min-height: 44px;
    }
    
    .countries-covered-section .form-check-label {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .countries-covered-section .checkbox-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .countries-covered-section .checkbox-controls .btn {
        width: 100%;
        text-align: center;
    }
}

/* Quill Editor Styling */
.ql-editor {
    min-height: 150px;
    font-size: 14px;
    line-height: 1.6;
}

.ql-toolbar {
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-radius: 6px 6px 0 0;
}

.ql-container {
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-radius: 0 0 6px 6px;
}

/* Success/Error Messages */
.alert {
    border-radius: 8px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

/* Tab Navigation Buttons */
.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    font-weight: 500;
}

.btn-outline-secondary:hover {
            background-color: #6c757d;
    border-color: #6c757d;
            color: white;
        }
        
/* Loading State */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design for Profile */
@media (max-width: 768px) {
    .file-upload-container {
        padding: 15px;
    }
    
    .file-upload-preview {
        min-height: 120px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-header h5 {
        font-size: 1.14px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .ql-editor {
        min-height: 120px;
        font-size: 13px;
    }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-icon {
    font-size: 4rem;
    color: #e9ecef;
    margin-bottom: 20px;
}

.empty-state h5 {
    margin-bottom: 10px;
    color: #495057;
}

.empty-state p {
    margin: 0;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-grid .row {
        margin-bottom: 15px;
    }
    
    .review-item {
        margin-bottom: 15px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-actions {
        margin-left: 0;
        margin-top: 10px;
        align-self: flex-end;
    }
    
    .sort-controls {
        justify-content: flex-start;
        margin-top: 15px;
    }
    
    .sort-controls select {
        width: 100%;
    }
}

.page-content {
 padding: 20px !important;
 background-color: var(--Detail-bg);
}

@media (max-width: 768px) {
    .page-content {
     padding: 0px !important;
     background-color: var(--Detail-bg);
    }
}


.password-strength {
    margin-top: 10px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.input-group {
    position: relative;
}

.input-group .btn-link {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    background: none;
    color: #6c757d;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group .btn-link:hover {
    color: #495057;
    background: none;
    border: none;
}

.input-group .btn-link:focus {
    box-shadow: none;
    outline: none;
}

.input-group .form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.btn-block {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.text-center a {
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.text-center a:hover {
    color: #007bff !important;
}

/* Blog Management Styles */
.blog-form-container {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 20px 0;
}

.blog-form-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.blog-form-header {
    background: linear-gradient(135deg, #3C2A1E 0%, #8B4513 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.blog-form-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

.blog-form-header p {
    margin: 10px 0 0 0;
    opacity: 0.9;
    font-size: 16px;
}

.blog-form-body {
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #3C2A1E;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group label.required::after {
    content: " *";
    color: #dc3545;
}

.character-count {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

.character-count.warning {
    color: #ffc107;
}

.character-count.danger {
    color: #dc3545;
}

/* Cover Image Upload */
.cover-image-section {
    margin-bottom: 30px;
}

.cover-image-upload {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background-color: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-image-upload:hover {
    border-color: #3C2A1E;
    background-color: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(60, 42, 30, 0.15);
}

.cover-image-upload.has-image {
    padding: 20px;
    min-height: auto;
}

.cover-image-preview {
    position: relative;
    max-width: 100%;
}

.cover-image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.remove-cover-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.remove-cover-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.upload-placeholder {
    color: #6c757d;
}

.upload-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.upload-placeholder h5 {
    margin: 0 0 10px 0;
    color: #333;
}

.upload-placeholder p {
    margin: 0;
    font-size: 14px;
}

/* SEO Section */
.seo-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.seo-section .section-title {
    color: #3C2A1E;
    margin-bottom: 25px;
}

.seo-meta-description {
    min-height: 100px;
    resize: vertical;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design for Blog Forms */
@media (max-width: 768px) {
    .blog-form-body {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .cover-image-upload {
        padding: 20px;
        min-height: 150px;
    }
}