/* ===== CONTACT PAGE SPECIFIC STYLES ===== */

/* Clean Contact Hero */
.contact-hero {
    background: #ffffff;
    color: var(--text-primary);
    padding: 80px 0 60px;
    border-bottom: 1px solid #e5e7eb;
}

.contact-hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-hero .page-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.contact-hero .page-subtitle {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.response-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: #f0f9ff;
    color: #0369a1;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.response-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Simplified Contact Main Grid */
.contact-main-grid {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

/* Clean Form Wrapper with Tabs */
.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    max-width: 100%;
}

.form-tabs {
    display: flex;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.form-tab {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-weight: 500;
    color: #6b7280;
    transition: all var(--transition-fast);
    position: relative;
    font-size: var(--font-size-sm);
}

.form-tab.active {
    background: white;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.form-tab:hover:not(.active) {
    background: #f3f4f6;
    color: var(--text-primary);
}

/* Form Tab Panels */
.form-tab-panel {
    display: none;
    padding: var(--spacing-xl);
}

.form-tab-panel.active {
    display: block;
}

.form-tab-content {
    max-width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.form-header h2 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.form-header p {
    color: var(--text-secondary);
    font-size: var(--font-size-md);
}

/* Clean Form Fields */
.form-field-enhanced {
    margin-bottom: var(--spacing-lg);
}

.form-input-enhanced {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid #d1d5db;
    border-radius: var(--radius-md);
    font-size: var(--font-size-md);
    transition: border-color var(--transition-fast);
    background: white;
}

.form-input-enhanced:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.form-input-enhanced.error {
    border-color: var(--error-color);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

/* Simple Meeting Topics */
.meeting-topics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.topic-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid #d1d5db;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color var(--transition-fast);
    background: white;
    font-size: var(--font-size-sm);
}

.topic-option:hover {
    border-color: var(--primary-color);
}

.topic-option.selected {
    border-color: var(--primary-color);
    background: #f0f9ff;
    color: var(--primary-color);
}

.topic-icon {
    font-size: var(--font-size-md);
}

/* Simple Date Time Section */
.datetime-section {
    background: #f9fafb;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
    border: 1px solid #e5e7eb;
}

.datetime-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

/* Simple Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.time-slot {
    padding: var(--spacing-xs) var(--spacing-sm);
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color var(--transition-fast);
    background: white;
    font-size: var(--font-size-sm);
}

.time-slot:hover {
    border-color: var(--primary-color);
}

.time-slot.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.time-slot.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f3f4f6;
}

/* Simple Calendar Widget */
.calendar-widget {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: var(--spacing-lg) 0;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.calendar-month-year {
    margin: 0;
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-nav {
    width: 32px;
    height: 32px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-fast);
}

.calendar-nav:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #f3f4f6;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    cursor: pointer;
    font-size: var(--font-size-sm);
    transition: background-color var(--transition-fast);
}

.calendar-day:hover {
    background: #f0f9ff;
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
}

.calendar-day.disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: #d1d5db;
    opacity: 0.5;
}

/* Remove Contact Sidebar - not needed */

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-xl);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.chat-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all var(--transition-normal);
    transform: translate(-50%, -50%);
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.chat-toggle:hover::before {
    width: 100%;
    height: 100%;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: slideInUp 0.3s ease;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-body {
    flex: 1;
    padding: var(--spacing-lg);
    overflow-y: auto;
    background: var(--bg-light);
}

.chat-input-area {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-top: 1px solid var(--border-light);
    background: white;
}

.chat-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-send {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.chat-send:hover {
    background: var(--primary-dark);
}

/* Chat Messages */
.chat-message {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 600;
    flex-shrink: 0;
}

.chat-message.user .chat-avatar {
    background: var(--bg-dark);
}

.chat-bubble {
    max-width: 70%;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.chat-message.bot .chat-bubble {
    background: white;
    border: 1px solid var(--border-light);
}

.chat-message.user .chat-bubble {
    background: var(--primary-color);
    color: white;
}

.chat-timestamp {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
    text-align: center;
}

/* Simple Button Styles */
.btn-full {
    width: 100%;
    padding: var(--spacing-md);
    font-size: var(--font-size-md);
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.btn-full:hover {
    background: var(--primary-dark);
}

.btn-full:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Simple Contact Info Section */
.contact-info-section {
    background: #f9fafb;
    padding: 60px 0;
    border-top: 1px solid #e5e7eb;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    max-width: 600px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-align: left;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-md);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 2px;
}

.info-item p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .meeting-topics {
        grid-template-columns: 1fr;
    }
    
    .datetime-grid {
        grid-template-columns: 1fr;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chat-window {
        width: 300px;
        height: 400px;
    }
    
    .form-tabs {
        font-size: var(--font-size-sm);
    }
    
    .form-tab {
        padding: var(--spacing-sm);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .live-chat-widget {
        bottom: 16px;
        right: 16px;
    }
    
    .chat-window {
        width: calc(100vw - 32px);
        height: 350px;
        right: -150px;
    }
    
    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
}