/* ============================================================================
  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 Contact Page Styles
 * Extends homepage.css design system
 */

/* ═══════════════════════════════════════════════════════════════════════════
   VARIABLES (matching homepage.css)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --linkedin-blue: #0A66C2;
    --linkedin-blue-dark: #004182;
    --linkedin-blue-light: #378FE9;
    --linkedin-white: #FFFFFF;
    --linkedin-gray-100: #F3F2EF;
    --linkedin-gray-200: #E9E5DF;
    --linkedin-gray-300: #00000099;
    --linkedin-gray-400: #00000066;
    --text-primary: #000000E6;
    --text-secondary: #00000099;
    --border-color: #00000014;
    --success: #057642;
    --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);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOP NAVIGATION BAR (from dashboard)
   ═══════════════════════════════════════════════════════════════════════════ */

.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;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--linkedin-gray-100);
}

.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
    background: var(--linkedin-gray-100);
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   USER MENU DROPDOWN (from dashboard)
   ═══════════════════════════════════════════════════════════════════════════ */

.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.user-menu-btn:hover {
    background: var(--linkedin-gray-100);
    box-shadow: var(--shadow-sm);
}

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

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

/* Dropdown Menu */
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

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

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

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

.user-name-large {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    cursor: pointer;
}

.dropdown-link:hover {
    background: var(--linkedin-gray-100);
}

.tier-badge {
    font-size: 12px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.contact-hero {
    background: linear-gradient(135deg, var(--linkedin-blue) 0%, var(--linkedin-blue-dark) 100%);
    padding: 80px 24px;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease-out;
}

.contact-hero p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT CONTAINER
   ═══════════════════════════════════════════════════════════════════════════ */

.contact-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT INFO
   ═══════════════════════════════════════════════════════════════════════════ */

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.contact-method:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--linkedin-blue) 0%, var(--linkedin-blue-light) 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-details a {
    font-size: 16px;
    color: var(--linkedin-blue);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   OFFICE HOURS BOX
   ═══════════════════════════════════════════════════════════════════════════ */

.office-hours {
    background: var(--linkedin-gray-100);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.office-hours h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.office-hours p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 4px 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════════════════════ */

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
    background: white;
    color: var(--text-primary);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--linkedin-blue);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

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

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

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

.submit-btn {
    width: 100%;
    padding: 14px 28px;
    background: var(--linkedin-blue);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.submit-btn:hover:not(:disabled) {
    background: var(--linkedin-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

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

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

@media (max-width: 1024px) {
    .contact-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 40px auto;
    }

    .contact-form {
        padding: 24px;
    }

    .contact-info h2 {
        font-size: 28px;
    }

    .contact-method {
        padding: 20px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}