/* ============================================================================
  Mobile responsive key breakpoints.
   ============================================================================ */

   /* Tablet */
@media (max-width: 768px) {
    .topbar-container {
        flex-direction: column;
        padding: 12px;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none; /* Or make it a dropdown */
    }
}


/**
 * UpThread Generator (Post Creator) Styles
 * LinkedIn-inspired design for the post generation tool
 */

/* ═══════════════════════════════════════════════════════════════════════════
   VARIABLES
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --linkedin-blue: #0A66C2;
    --linkedin-blue-dark: #004182;
    --linkedin-white: #FFFFFF;
    --linkedin-gray-100: #F3F2EF;
    --linkedin-gray-200: #E9E5DF;
    --text-primary: #000000E6;
    --text-secondary: #00000099;
    --border-color: #00000014;
    --success: #057642;
    --warning: #F5A623;
    --error: #CC1016;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--linkedin-gray-100);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.topbar {
    background: var(--linkedin-white);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 36px;
    width: auto;
}

.sidebar-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-toggle:hover {
    background: var(--linkedin-gray-100);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════════════════════ */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 88px;
    height: fit-content;
}

.sidebar.hidden {
    display: none;
}

.sidebar-header {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.sidebar-header h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.sidebar-header p {
    font-size: 13px;
    color: var(--text-secondary);
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.sidebar-section h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-caption {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Status Badge */
.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: var(--linkedin-gray-100);
    font-size: 13px;
}

.status-badge.success {
    background: #F0F9F4;
    color: var(--success);
}

.status-badge.error {
    background: #FFF5F5;
    color: var(--error);
}

.status-icon {
    font-size: 16px;
}

.status-text {
    font-weight: 500;
}

/* Safety Slider */
.slider-container {
    margin-bottom: 16px;
}

.safety-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--linkedin-gray-200);
    outline: none;
    -webkit-appearance: none;
}

.safety-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--linkedin-blue);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.safety-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--linkedin-blue);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-sm);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-secondary);
}

.safety-info {
    background: var(--linkedin-gray-100);
    padding: 12px;
    border-radius: 8px;
}

.safety-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.safety-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.safety-value {
    font-size: 11px;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
}

/* Buttons */
.btn-secondary {
    width: 100%;
    background: var(--linkedin-gray-100);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--linkedin-gray-200);
}

.diagnostic-result {
    margin-top: 12px;
    padding: 12px;
    background: var(--linkedin-gray-100);
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

/* Tips List */
.tips-list {
    list-style: none;
    font-size: 13px;
}

.tips-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.tips-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tips-list strong {
    color: var(--linkedin-blue);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════════════════════ */

.content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.content h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Composer Card */
.composer-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.composer-header {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--linkedin-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.composer-info {
    flex: 1;
}

.company-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.post-status {
    font-size: 13px;
    color: var(--text-secondary);
}

#postInput {
    width: 100%;
    min-height: 140px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

#postInput:focus {
    outline: none;
    border-color: var(--linkedin-blue);
}

#postInput::placeholder {
    color: var(--text-secondary);
}

.composer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.action-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--linkedin-gray-100);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload-label:hover {
    background: var(--linkedin-gray-200);
}

.file-name {
    font-size: 13px;
    color: var(--text-secondary);
}

.action-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.visibility-select {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.visibility-select:hover {
    background: var(--linkedin-gray-100);
}

.btn-primary {
    background: var(--linkedin-blue);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--linkedin-blue-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:disabled {
    background: var(--linkedin-gray-200);
    color: var(--text-secondary);
    cursor: not-allowed;
    box-shadow: none;
}

/* ============================================================================
   ENHANCED LOADING SPINNER STYLES
   Add this to generator.css or in <style> section of generator.html
   ============================================================================ */

/* Enhanced Loading Spinner Container */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 16px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

/* Animated shimmer background effect */
.loading-spinner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Spinner container with glow effect */
.spinner-container {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

/* Main rotating spinner */
.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 119, 181, 0.1);
    border-top: 4px solid #0077b5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
    z-index: 2;
}

/* Spinner rotation animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Glow pulse animation */
@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Loading message text */
.loading-message {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    animation: fadeInOut 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
    min-height: 27px; /* Prevent layout shift when text changes */
}

/* Message fade animation */
@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Animated dots below message */
.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.loading-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0077b5;
    animation: bounce 1.4s ease-in-out infinite;
}

/* Staggered bounce effect */
.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Dot bounce animation */
@keyframes bounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    40% {
        transform: translateY(-12px);
        opacity: 0.7;
    }
}

/* ============================================================================
   UPGRADE MODAL ANIMATIONS
   ============================================================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ============================================================================
   USAGE COUNTER (OPTIONAL)
   ============================================================================ */

.usage-counter {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #666;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #0077b5;
}

.usage-counter.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.usage-counter.danger {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (max-width: 768px) {
    .loading-spinner {
        padding: 40px 15px;
    }
    
    .spinner {
        width: 50px;
        height: 50px;
    }
    
    .spinner-glow {
        width: 70px;
        height: 70px;
    }
    
    .loading-message {
        font-size: 16px;
    }
}
/* ═══════════════════════════════════════════════════════════════════════════
   POSTS CONTAINER
   ═══════════════════════════════════════════════════════════════════════════ */

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Messages */
.info-message,
.success-message,
.warning-message,
.error-message {
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.info-message {
    background: #F0F6FF;
    color: #004182;
    border: 1px solid #B3D4FF;
}

.success-message {
    background: #F0F9F4;
    color: #057642;
    border: 1px solid #9FD8B8;
}

.warning-message {
    background: #FFF9F0;
    color: #B54708;
    border: 1px solid #FFD89B;
}

.error-message {
    background: #FFF5F5;
    color: #CC1016;
    border: 1px solid #FFB3B3;
}

/* Post Cards */
.post-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
}

.post-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--linkedin-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.post-info {
    flex: 1;
}

.post-company {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.post-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

.post-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 12px;
    white-space: pre-wrap;
}

.post-hashtags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hashtag {
    background: var(--linkedin-gray-100);
    color: var(--linkedin-blue);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.post-cta {
    background: var(--linkedin-gray-100);
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.post-actions {
    display: flex;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.btn-approve {
    flex: 1;
    background: var(--success);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-approve:hover {
    background: #046536;
    box-shadow: var(--shadow-sm);
}

.btn-edit {
    flex: 1;
    background: white;
    color: var(--linkedin-blue);
    border: 1px solid var(--linkedin-blue);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-edit:hover {
    background: var(--linkedin-gray-100);
}

.brand-profile-prompt {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin: 20px 0;
    color: white;
}

.prompt-icon {
    font-size: 48px;
}

.prompt-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.prompt-content p {
    margin: 0;
    opacity: 0.9;
}

/* PDF Upload Styles */
.upload-option {
    margin-bottom: 8px;
}

.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 2px dashed #0077b5;
    border-radius: 8px;
    color: #0077b5;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-upload:hover {
    background: #f0f9ff;
    border-color: #006399;
}

.media-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.pdf-page-preview {
    text-align: center;
}

.pdf-page-preview img {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.pdf-page-preview img:hover {
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOADING SPINNER
   ═══════════════════════════════════════════════════════════════════════════ */

.loading-spinner {
    background: white;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border: 4px solid var(--linkedin-gray-200);
    border-top-color: var(--linkedin-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .composer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .action-left,
    .action-right {
        width: 100%;
        justify-content: space-between;
    }

    .visibility-select,
    .btn-primary {
        width: 100%;
    }

    .post-actions {
        flex-direction: column;
    }
}
/**
 * Generator Page - Additional CSS for New Features
 * ADD THESE STYLES TO YOUR generator.css FILE
 */

/* ==================================================================
   NAVIGATION HEADER STYLES (Fix #5)
   ================================================================== */

.topbar {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
    margin-right: 24px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-link:hover {
    background: #f5f5f5;
    color: #000;
}

.nav-link.active {
    background: #e6f2ff;
    color: #0077b5;
}

/* User Menu Styles */
.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.user-menu-btn:hover {
    background: #f5f5f5;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.user-name {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.user-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.user-name-large {
    font-weight: 600;
    font-size: 15px;
    color: #000;
}

.user-email {
    font-size: 13px;
    color: #666;
}

.user-dropdown-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}

.dropdown-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-link:hover {
    background: #f5f5f5;
}

/* ==================================================================
   IMAGE PREVIEW STYLES (Fix #7)
   ================================================================== */

.image-preview-container {
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-image-preview {
    margin-top: 12px;
}

.post-image-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* ==================================================================
   EDIT MODE STYLES (Fix #10)
   ================================================================== */

.btn-save-edit {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-save-edit:hover {
    background: #218838;
}

.btn-cancel-edit {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-cancel-edit:hover {
    background: #5a6268;
}

.btn-schedule-cancel:hover {
            background: #e5e5e5;
        }

        /* ✅ ADD ALL THE SCHEDULE BUTTON CSS HERE */
        .btn-schedule {
            background: white;
            color: #0077b5;
            border: 2px solid #0077b5;
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-schedule:hover {
            background: #0077b5;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
        }

        .btn-schedule:disabled {
            background: #f5f5f5;
            color: #999;
            border-color: #ddd;
            cursor: not-allowed;
            transform: none;
        }

        .btn-schedule:disabled:hover {
            background: #f5f5f5;
            color: #999;
            transform: none;
            box-shadow: none;
        }

        .btn-schedule.scheduled {
            background: #10b981;
            color: white;
            border-color: #10b981;
            cursor: default;
        }

        .btn-schedule.scheduled:hover {
            background: #10b981;
            transform: none;
        }

/* ==================================================================
   MESSAGE STYLES
   ================================================================== */

.success-message,
.error-message,
.warning-message,
.info-message {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: 500;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.warning-message {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.info-message {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ==================================================================
   RESPONSIVE STYLES
   ================================================================== */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .topbar-container {
        padding: 12px 16px;
    }
    
    .user-name {
        display: none;
    }
}