/* Premium Booking Interface Styles */

/* Base transitions and smooth fade-in */
.step-content {
    transition: opacity 0.4s ease, transform 0.4s ease;
    animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Stepper Progress Component */
.stepper-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 2rem;
    padding: 0 10px;
}

.stepper-line-bg {
    position: absolute;
    top: 24px;
    left: 16.666%;
    right: 16.666%;
    height: 4px;
    background-color: #e5e7eb;
    z-index: 1;
    border-radius: 2px;
}

.stepper-line-progress {
    position: absolute;
    top: 24px;
    left: 16.666%;
    max-width: 66.666%;
    height: 4px;
    background: linear-gradient(90deg, #08325E, #0D429D);
    z-index: 2;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    cursor: pointer;
    flex: 1;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #9ca3af;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.step-label {
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #9ca3af;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

/* Active State */
.step-node.active .step-circle {
    border-color: #08325E;
    background-color: #ffffff;
    color: #08325E;
    box-shadow: 0 0 0 4px rgba(8, 50, 94, 0.149), 0 4px 10px rgba(0, 0, 0, 0.05);
    transform: scale(1.08);
}

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

/* Completed State */
.step-node.completed .step-circle {
    border-color: #08325E;
    background: linear-gradient(135deg, #08325E, #0D429D);
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(13, 148, 136, 0.1);
}

.step-node.completed .step-label {
    color: #4b5563;
}

/* Service Custom Selection Cards */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.service-card {
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
}

.service-card:hover {
    border-color: #08325E;
    background-color: #ced6df;
    box-shadow: 0 0 0 1px #08325E, 0 8px 20px rgba(13, 148, 136, 0.06);
    transform: translateY(-3px);
}

.service-card.selected {
    border-color: #08325E;
    background-color: #ced6df;
    box-shadow: 0 0 0 1px #08325E, 0 8px 20px rgba(13, 148, 136, 0.06);
}

.service-card-icon {
    font-size: 1.5rem;
    color: #08325E;
    background-color: #ced6df;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon,
.service-card.selected .service-card-icon {
    background-color: #08325E;
    color: #ffffff;
}

.service-card-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1f2937;
    margin-bottom: 6px;
}

.service-card-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 16px;
    flex-grow: 1;
}

.service-card-meta {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    border-top: 1px solid #f3f4f6;
    padding-top: 12px;
}

.service-card.selected .service-card-meta {
    border-top-color: #ccfbf1;
}

.service-duration {
    color: #6b7280;
}

.service-price {
    color: #08325E;
    font-weight: 700;
}

.service-check-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    background-color: #08325E;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card.selected .service-check-badge {
    opacity: 1;
    transform: scale(1);
}

/* Beautiful custom calendar layout tweaks */
.calendar-day-active {
    background-color: #08325E !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3) !important;
}

/* Floating label/modern inputs styling */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15) !important;
    border-color: #08325E !important;
}

/* Premium summary card styling */
.checkout-card {
    background: linear-gradient(135deg, #ffffff, #fcfdfd);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.checkout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #08325E;
}
