/* Schedule Consultation Page Styles - Uphill Attorneys */

/* Hero Features - Specific to Schedule Page */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
}

.hero-feature i {
    font-size: 1.25rem;
}

@media (max-width: 767px) {
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--law-blue);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
}

/* Consultation Type Cards */
.consultation-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.consultation-card:hover {
    border-color: var(--law-gold);
    transform: translateY(-4px);
}

.consultation-card.selected {
    border-color: var(--law-blue);
}

.consultation-card-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--law-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.consultation-card-icon i {
    font-size: 1.5rem;
    color: var(--law-blue);
}

.consultation-card.selected .consultation-card-icon {
    background-color: var(--law-blue);
}

.consultation-card.selected .consultation-card-icon i {
    color: #ffffff;
}

.consultation-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--law-blue);
    margin-bottom: 0.5rem;
}

.consultation-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.consultation-card-details {
    font-size: 0.875rem;
    color: #9ca3af;
}

.consultation-card-details p {
    margin-bottom: 0.25rem;
}

.consultation-badge {
    font-size: 0.75rem;
    background-color: var(--law-gold);
    color: var(--law-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Calendar Widget */
.calendar-widget {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.calendar-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--law-blue);
    margin: 0;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.calendar-nav button {
    background: none;
    border: none;
    color: var(--law-blue);
    cursor: pointer;
    transition: color 0.2s ease;
}

.calendar-nav button:hover {
    color: var(--law-gold);
}

.calendar-month {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--law-blue);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.calendar-day-header {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    padding: 0.5rem;
}

.calendar-day {
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.calendar-day.disabled {
    color: #d1d5db;
}

.calendar-day.available {
    cursor: pointer;
}

.calendar-day.available:hover {
    background-color: var(--law-blue);
    color: #ffffff;
}

.calendar-day.selected {
    background-color: var(--law-blue);
    color: #ffffff;
}

.calendar-legend {
    font-size: 0.875rem;
    color: #6b7280;
}

.calendar-legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.calendar-legend-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.calendar-legend-dot.disabled {
    background-color: #d1d5db;
}

.calendar-legend-dot.available {
    background-color: var(--law-blue);
}

/* Time Slots */
.time-slots-container {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.time-slots-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--law-blue);
    margin-bottom: 1.5rem;
}

.time-slots-date {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.time-period-header {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--law-blue);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.time-period-header:first-of-type {
    margin-top: 0;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.time-slot {
    background-color: #f3f4f6;
    padding: 0.75rem;
    border-radius: 0.375rem;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
}

.time-slot:hover {
    background-color: var(--law-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.time-slot.selected {
    background-color: var(--law-blue);
    color: #ffffff;
}

.selected-time-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(217, 119, 6, 0.1);
    border-radius: 0.375rem;
}

.selected-time-info p {
    font-size: 0.875rem;
    color: var(--law-blue);
    font-weight: 500;
    margin: 0;
}

.selected-time-info i {
    margin-right: 0.5rem;
}

/* Booking Form */
.booking-form-container {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.booking-form-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--law-blue);
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--law-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

textarea.form-control {
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 0.75rem;
}

.form-check-label {
    font-size: 0.875rem;
    color: #374151;
}

.form-check-label a {
    color: var(--law-blue);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background-color: var(--law-blue);
    color: #ffffff;
    padding: 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background-color: var(--law-blue-dark);
}

.btn-submit i {
    margin-right: 0.5rem;
}

/* Attorney Cards */
.attorney-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.attorney-card:hover {
    border-color: var(--law-gold);
    transform: translateY(-4px);
}

.attorney-card.selected {
    border-color: var(--law-blue);
}

.attorney-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.attorney-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attorney-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--law-blue);
    margin-bottom: 0.5rem;
}

.attorney-title {
    color: var(--law-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.attorney-specialty {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.attorney-credentials {
    font-size: 0.875rem;
    color: #9ca3af;
}

.attorney-credentials p {
    margin-bottom: 0.25rem;
}

.attorney-badge {
    font-size: 0.75rem;
    background-color: var(--law-gold);
    color: var(--law-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* FAQ Section */
.faq-container {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--law-blue);
    margin: 0;
}

.faq-question i {
    color: var(--law-gold);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    color: #6b7280;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Contact Info Cards */
.contact-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
}

.contact-card-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--law-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-card-icon i {
    font-size: 1.5rem;
    color: var(--law-blue);
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--law-blue);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.contact-card a.btn {
    text-decoration: none;
    display: inline-block;
}

.contact-card .btn-outline-primary {
    color: #1e3a8a;
    border-color: #1e3a8a;
}

.contact-card .btn-outline-primary:hover {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
    color: #ffffff;
}

.contact-card a.btn i {
    margin-right: 0.25rem;
}

/* Emergency Contact Section */
.emergency-section {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.emergency-icon {
    width: 4rem;
    height: 4rem;
    background-color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.emergency-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.emergency-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #b91c1c;
    margin-bottom: 0.5rem;
}

.emergency-section p {
    color: #dc2626;
    margin-bottom: 1.5rem;
}

.emergency-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-emergency {
    background-color: #ef4444;
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-emergency:hover {
    background-color: #dc2626;
    color: #ffffff;
}

.btn-emergency-outline {
    background-color: transparent;
    color: #ef4444;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    border: 2px solid #ef4444;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-emergency-outline:hover {
    background-color: #ef4444;
    color: #ffffff;
}


/* Responsive Design */
@media (max-width: 767px) {
    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .emergency-buttons {
        flex-direction: column;
    }
}

@media (min-width: 576px) {
    .emergency-buttons {
        flex-direction: row;
        justify-content: center;
    }
}
