/**
 * Summer Enrollment Widget — Styles
 * Complements Tailwind utility classes with component-specific transitions & effects.
 */

/* =========================================================================
   Step Indicator
   ========================================================================= */
.se-step-indicator {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}
.se-step-dot {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    background: #e5e7eb;
    color: #6b7280;
    transition: all 0.3s ease;
}
.se-step-dot.active {
    background: #0A2D57;
    color: #fff;
}
.se-step-dot.completed {
    background: #16a34a;
    color: #fff;
}
.se-step-line {
    flex-grow: 1;
    height: 2px;
    background: #e5e7eb;
    transition: background 0.3s;
}
.se-step-line.active {
    background: #0A2D57;
}

/* =========================================================================
   Course Cards
   ========================================================================= */
.se-course-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.se-course-card:hover {
    transform: translateY(-2px);
}

/* =========================================================================
   Week Chips
   ========================================================================= */
.se-week-chip {
    transition: all 0.2s ease;
    user-select: none;
}
.se-week-chip:not(.cursor-not-allowed):hover {
    transform: translateY(-1px);
}
.se-week-chip:not(.cursor-not-allowed):active {
    transform: scale(0.98);
}

/* =========================================================================
   Price Summary Sidebar
   ========================================================================= */
.se-price-summary {
    position: sticky;
    top: 5rem;
}

/* =========================================================================
   Sections / Steps
   ========================================================================= */
.se-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* =========================================================================
   Auth Toggle Buttons
   ========================================================================= */
.se-auth-btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
    border-width: 2px;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* =========================================================================
   Form Fields
   ========================================================================= */
.se-field label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.25rem;
}
.se-field input,
.se-field select,
.se-field textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.9375rem;
    transition: border-color 0.2s;
}
.se-field input:focus,
.se-field select:focus,
.se-field textarea:focus {
    outline: none;
    border-color: #0A2D57;
    box-shadow: 0 0 0 3px rgba(10, 45, 87, 0.12);
}

/* =========================================================================
   Submit Button
   ========================================================================= */
.se-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0.75rem;
    color: #fff;
    background: linear-gradient(135deg, #e63946 0%, #c41e30 100%);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
}
.se-pay-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.35);
}
.se-pay-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 768px) {
    .se-price-summary {
        position: static;
    }
}
