/*
 * Public Interactive Booking Widget Styles
 * Matching Serene Clinical Portal Mockups
 */

.psico-booking-widget {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px -4px rgba(45, 90, 76, 0.06);
    border: 1px solid #efeeeb;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1a1c1a;
}

/* Progress Stepper */
.psico-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 580px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #efeeeb;
    color: #717975;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step-node.active .step-badge,
.step-node.completed .step-badge {
    background: #134235;
    color: #ffffff;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #717975;
}

.step-node.active .step-label {
    color: #134235;
}

.step-line {
    flex: 1;
    height: 3px;
    background: #efeeeb;
    margin: 0 0.75rem;
    position: relative;
    top: -10px;
    border-radius: 9999px;
}

.step-line.active {
    background: #134235;
}

/* Cards Selection */
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.option-card {
    background: #f4f3f0;
    border: 2px solid transparent;
    border-radius: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
}

.option-card:hover {
    background: #efeeeb;
    border-color: #c0c8c3;
}

.option-card.selected {
    background: #ffffff;
    border-color: #134235;
    box-shadow: 0 4px 16px rgba(19, 66, 53, 0.1);
}

.option-card .card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1c1a;
    margin-bottom: 0.35rem;
}

.option-card .card-desc {
    font-size: 0.85rem;
    color: #404945;
    line-height: 1.5;
}

.option-card .card-price {
    margin-top: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #134235;
}

/* Slots Grid */
.slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.slot-btn {
    background: #ffffff;
    border: 1px solid #e3e2e0;
    border-radius: 0.75rem;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1a1c1a;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slot-btn:hover {
    background: #bcedda;
    border-color: #134235;
    color: #134235;
}

.slot-btn.selected {
    background: #134235;
    color: #ffffff;
    border-color: #134235;
    box-shadow: 0 2px 8px rgba(19, 66, 53, 0.2);
}

/* Form inputs */
.booking-form-group {
    margin-bottom: 1.25rem;
}

.booking-form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a1c1a;
    margin-bottom: 0.4rem;
}

.booking-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e3e2e0;
    background: #faf9f6;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1a1c1a;
    transition: all 0.2s ease;
}

.booking-form-input:focus {
    outline: none;
    border-color: #134235;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(19, 66, 53, 0.1);
}

/* Confirmation Box */
.confirmation-box {
    text-align: center;
    padding: 2.5rem 1rem;
}

.confirmation-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #bcedda;
    color: #134235;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.gcal-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #134235;
    color: #ffffff;
    padding: 0.85rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 1.5rem;
    box-shadow: 0 4px 14px rgba(19, 66, 53, 0.2);
    transition: all 0.2s ease;
}

.gcal-button:hover {
    background: #2d5a4c;
    color: #ffffff;
    transform: translateY(-1px);
}
