:root {
    --enroll-primary: #0056b3;
    --enroll-primary-hover: #004494;
    --enroll-bg: #f4f7f9;
    --enroll-card-bg: #ffffff;
    --enroll-text: #2c3e50;
    --enroll-text-muted: #7f8c8d;
    --enroll-border: #dee2e6;
    --enroll-success: #28a745;
    --enroll-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

body.enroll-body {
    background-color: var(--enroll-bg) !important;
    color: var(--enroll-text) !important;
    font-family: 'Kantumruy Pro', system-ui, -apple-system, sans-serif !important;
    overflow: auto !important;
}

.enroll-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--enroll-border);
}

.enroll-card {
    background-color: transparent;
    border: none !important;
}

.enroll-card-header {
    background-color: transparent !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 2rem 2rem 1rem 2rem !important;
}

.enroll-btn-primary {
    background-color: var(--enroll-primary) !important;
    border-color: var(--enroll-primary) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 0.8rem 2rem !important;
    border-radius: 10px !important;
    transition: all 0.2s ease-in-out !important;
}

.enroll-btn-primary:hover {
    background-color: var(--enroll-primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,86,179,0.2) !important;
}

.enroll-form-label {
    color: #4a5568 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
}

.enroll-form-control {
    background-color: #fcfcfc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 0.75rem 1rem !important;
    color: var(--enroll-text) !important;
}

.enroll-form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--enroll-primary) !important;
    box-shadow: 0 0 0 4px rgba(0,86,179,0.1) !important;
}

.enroll-section-title {
    color: var(--enroll-primary);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    padding-left: 15px;
}

.enroll-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--enroll-primary);
    border-radius: 2px;
}

.registration-code-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed var(--enroll-primary);
    border-radius: 20px;
    padding: 2rem;
}

.enroll-alert-info {
    background-color: #eef6ff !important;
    border: none !important;
    color: #004a99 !important;
    border-radius: 12px !important;
}

/* Program Picker Styles */
.program-item {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    padding: 1.25rem;
    height: 100%;
    position: relative;
}

.program-item:hover {
    border-color: var(--enroll-primary);
    background-color: #f8fbff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.program-item.active {
    border-color: var(--enroll-primary);
    background-color: #eef6ff;
    box-shadow: 0 0 0 2px var(--enroll-primary);
}

.program-item .check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--enroll-primary);
    display: none;
}

.program-item.active .check-icon {
    display: block;
}

/* Accordion Styles for Program Picker */
.accordion-item.border-blue-200 {
    border-color: #93c5fd !important;
}

.accordion-button {
    background-color: #eff6ff;
    color: #0369a1;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: #dbeafe;
    color: #075985;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #93c5fd;
}

.accordion-button::after {
    filter: invert(40%) sepia(98%) saturate(1448%) hue-rotate(190deg) brightness(97%) contrast(101%);
}

.accordion-body {
    background-color: #f0f9ff;
}
.associate-header {
    background-color: #ffedd5;
    color: #c2410c;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.bachelor-header {
    background-color: #ffedd5;
    color: #c2410c;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

/* Associate Program Cards */
.program-item-associate {
    border-left: 4px solid #3b82f6;
}

.program-item-associate:hover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.program-item-associate.active {
    border-color: #3b82f6;
    background-color: #dbeafe;
    box-shadow: 0 0 0 2px #3b82f6;
}

.program-item-associate .check-icon {
    color: #3b82f6;
}

.program-item-associate .program-degree {
    color: #1d4ed8;
}

/* Bachelor Program Cards */
.program-item-bachelor {
    border-left: 4px solid #0ea5e9;
}

.program-item-bachelor:hover {
    border-color: #0ea5e9;
    background-color: #f0f9ff;
}

.program-item-bachelor.active {
    border-color: #0ea5e9;
    background-color: #e0f2fe;
    box-shadow: 0 0 0 2px #0ea5e9;
}

.program-item-bachelor .check-icon {
    color: #0ea5e9;
}

.program-item-bachelor .program-degree {
    color: #0369a1;
}

.program-major {
    font-weight: 700;
    font-size: 1rem;
    color: var(--enroll-text);
    margin-bottom: 0.25rem;
}

.program-degree {
    font-size: 0.85rem;
    color: var(--enroll-primary);
    font-weight: 600;
    text-transform: uppercase;
}

.program-period {
    font-size: 0.85rem;
    color: var(--enroll-text-muted);
}

.sortable-header {
    cursor: pointer;
}

.wizard-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.wizard-step-indicator {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.wizard-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.wizard-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.wizard-step-item.active .wizard-step-circle {
    background-color: var(--enroll-primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.2);
}

.wizard-step-item.completed .wizard-step-circle {
    background-color: var(--enroll-success);
    color: white;
}

.wizard-step-label {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    transition: color 0.3s ease;
}

.wizard-step-item.active .wizard-step-label {
    color: var(--enroll-primary);
}

.wizard-step-item.completed .wizard-step-label {
    color: var(--enroll-success);
}

.wizard-step-line {
    flex: 1;
    height: 3px;
    background-color: #e2e8f0;
    margin: 0 -0.5rem;
    margin-top: -1.5rem;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.wizard-step-line.completed {
    background-color: var(--enroll-success);
}

.wizard-content {
    position: relative;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-nav {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.wizard-btn {
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wizard-btn-prev {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.wizard-btn-prev:hover {
    background-color: #e2e8f0;
}

.wizard-btn-next {
    background-color: var(--enroll-primary);
    color: white;
    border: none;
}

.wizard-btn-next:hover {
    background-color: var(--enroll-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

.wizard-btn-submit {
    background-color: var(--enroll-success);
    color: white;
    border: none;
}

.wizard-btn-submit:hover {
    background-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.wizard-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.wizard-validation-msg {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: #dc2626;
    font-size: 0.875rem;
    display: none;
}

.wizard-validation-msg.show {
    display: block;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@media (max-width: 768px) {
    .wizard-progress {
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .wizard-step-indicator {
        width: 100%;
    }

    .wizard-step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .wizard-step-label {
        font-size: 0.7rem;
        line-height: 1.2;
        max-width: 60px;
    }

    .wizard-step-line {
        height: 2px;
        margin: 0 -0.25rem;
        margin-top: -1.25rem;
    }

    .wizard-nav {
        flex-direction: column;
        gap: 0.75rem;
    }

    .wizard-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }

    .wizard-btn-prev {
        order: 2;
    }

    .wizard-btn-next,
    .wizard-btn-submit {
        order: 1;
    }

    .enroll-card-header {
        padding: 1.25rem 1rem 0.75rem 1rem !important;
    }

    .enroll-card-header h2 {
        font-size: 1.15rem;
        margin-bottom: 0.25rem !important;
    }

    .enroll-card-header p {
        font-size: 0.85rem;
        margin-bottom: 0 !important;
    }

    .enroll-section-title {
        font-size: 1rem;
        padding-left: 12px;
    }

    .enroll-section-title::before {
        width: 3px;
    }

    .wizard-content .row.g-4 {
        --bs-gutter-y: 1rem;
    }

    .wizard-validation-msg {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 576px) {
    .wizard-step-label {
        display: none;
    }

    .wizard-step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .wizard-step-line {
        margin-top: -1rem;
    }

    .enroll-form-label {
        font-size: 0.85rem;
    }

    .enroll-form-control {
        padding: 0.6rem 0.875rem !important;
        font-size: 0.9rem;
    }

    .form-select.enroll-form-control {
        padding: 0.5rem 0.75rem !important;
    }

    .enroll-card-body {
        padding: 1rem !important;
    }
}
