/* Appointment Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #dbeafe 0%, #ffffff 50%, #dbeafe 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(90deg, var(--primary) 0%, #1e40af 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
}

.lead {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Main Section */
.main-section {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Form Card */
.form-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-card h2 {
    font-size: 32px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    stroke-width: 2;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Buttons */
/* .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
} */

.btn-urgent {
    background: #ea580c;
    color: white;
    width: 100%;
}

.btn-urgent:hover {
    background: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.form-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    margin-top: -8px;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card h3,
.card h4 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.card-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: white;
}

.card-primary h3 {
    color: white;
}

/* Schedule */
.schedule {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-weight: 600;
}

/* Contact Item */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    stroke-width: 2;
}

.contact-label {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.contact-item a {
    display: block;
    font-size: 18px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--primary);
}

/* Success Card */
.card-success {
    background: #d1fae5;
    border: 2px solid #6ee7b7;
}

.card-success h4 {
    font-size: 20px;
    margin-bottom: 16px;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 8px 0;
    color: #065f46;
}

/* Urgent Card */
.card-urgent {
    background: #ffedd5;
    border: 2px solid #fdba74;
}

.urgent-text {
    text-align: center;
    font-size: 16px;
    margin-bottom: 16px;
    color: #9a3412;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.map-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.map-placeholder {
    background: #e5e7eb;
    border-radius: 16px;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.map-icon {
    width: 64px;
    height: 64px;
    stroke: var(--text-gray);
    stroke-width: 2;
    margin-bottom: 16px;
}

.map-title {
    font-size: 24px;
    font-weight: 600;
}

.map-address {
    font-size: 14px;
    margin-top: 8px;
}

/* Success Message Overlay */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.success-message.show {
    display: flex;
}

.success-content {
    background: white;
    padding: 48px 32px;
    border-radius: 16px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.success-icon {
    width: 64px;
    height: 64px;
    stroke: var(--success);
    stroke-width: 2;
    margin: 0 auto 24px;
}

.success-content h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.success-content p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .lead {
        font-size: 18px;
    }

    .form-card,
    .card {
        padding: 24px;
    }

    .form-card h2 {
        font-size: 24px;
    }

    .contact-item a {
        font-size: 16px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card,
.card {
    animation: fadeIn 0.6s ease-out;
}
