/* Calendar Scheduler Styles */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --success-color: #059669;
    --error-color: #dc2626;
    --warning-color: #d97706;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --border-radius: 8px;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-color: #F5F5f7;
    min-height: 100vh;
    color: var(--gray-800);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: left;
    margin-bottom: 40px;
}

.logo h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle h2 {
    color: black;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}

/* approximate "shorepod." header brand style */
.site-logo {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 15px;
    margin-left: 0px;
    color: #000;
    font-family: questrial, sans-serif;
    line-height: normal;
    letter-spacing: 0em;
    font-style: normal;
    font-variant-caps: normal;
    font-variant-ligatures: normal;
    font-variant-numeric: normal;
    font-variant-east-asian: normal;
    font-variant-alternates: normal;
    font-size-adjust: none;
    font-kerning: auto;
    font-optical-sizing: auto;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-variant-position: normal;
    font-variant-emoji: normal;
    font-weight: normal;
    font-stretch: normal;
    font-size: 45px;
}

.site-logo:hover { opacity: 0.85; }

/* Main Content */
.main-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Info Section */
.info-section {
    background: var(--gray-50);
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.info-card h3 {
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.job-description {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.recruiter-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.recruiter-email {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Calendar Section */
.calendar-section {
    padding: 24px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.calendar-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.nav-btn {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 8px 16px;
    color: var(--gray-700);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: var(--gray-200);
    border-color: var(--gray-400);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.time-slot {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.time-slot:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.time-slot.available {
    border-color: var(--success-color);
}

.time-slot.available:hover {
    background: #f0fdf4;
    border-color: var(--success-color);
}

.time-slot.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.time-slot.unavailable {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--gray-400);
    cursor: not-allowed;
}

.time-slot.unavailable:hover {
    transform: none;
    box-shadow: none;
}

.time-slot .time {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.time-slot .duration {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Booking Section */
.booking-section {
    background: var(--gray-50);
    padding: 24px;
    border-top: 1px solid var(--gray-200);
}

.booking-form {
    max-width: 500px;
    margin: 0 auto;
}

.booking-form h3 {
    text-align: center;
    color: var(--gray-900);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.selected-time {
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 16px;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 500;
    color: var(--primary-color);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
}

.cancel-btn,
.confirm-btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cancel-btn {
    background: var(--gray-200);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.cancel-btn:hover {
    background: var(--gray-300);
}

.confirm-btn {
    background: var(--primary-color);
    color: white;
}

.confirm-btn:hover {
    background: var(--primary-hover);
}

.confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success Section */
.success-section {
    background: var(--gray-50);
    padding: 24px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.success-message {
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.success-message h3 {
    color: var(--gray-900);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.success-message p {
    margin-bottom: 24px;
}

.meeting-details {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
}

.meeting-details div {
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.meeting-details strong {
    color: var(--gray-700);
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.add-to-calendar-btn,
.join-meeting-btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: var(--success-color);
    color: white;
}

.add-to-calendar-btn:hover,
.join-meeting-btn:hover {
    background: #047857;
}

/* Loading Spinner */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--gray-500);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contact Form Styles */
.contact-section {
    margin-top: 24px;
}

.contact-form {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.contact-form h3 {
    color: var(--gray-800);
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-form p {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.file-input {
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius);
    padding: 16px;
    text-align: center;
    background: var(--gray-50);
    cursor: pointer;
    transition: all 0.2s;
}

.file-input:hover {
    border-color: var(--primary-color);
    background: #f0f7ff;
}

.file-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.file-hint {
    display: block;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 4px;
}

.requested-info {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 20px;
}

.requested-info h4 {
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.requested-info p {
    color: var(--gray-600);
    margin: 4px 0;
    font-size: 0.875rem;
}

.contact-success-section {
    margin-top: 24px;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.95rem;
}

.primary-btn:hover {
    background: var(--primary-hover);
}

/* Error States */
.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--error-color);
    padding: 12px;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .info-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .calendar-header {
        flex-direction: column;
        gap: 16px;
    }

    .calendar-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .success-actions {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}