:root {
    --primary: #d18c15;
    --primary-light: #1e293b;
    --accent: #019934;
    --accent-light: #60a5fa;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --text: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #444f5e;
    --bg: #f8fafc;
    --bg-white: #ffffff;
    --error: #ef4444;
    --success: #22c55e;
    --success-light: #dcfce7;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --radius: 10px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1),
        0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
}

.select2-container--bootstrap-5
    .select2-dropdown
    .select2-results__options
    .select2-results__option {
    font-size: 13px !important;
    font-weight: 500 !important;
}

body {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
        sans-serif;
    background-color: var(--bg);
    color: var(--text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 105px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast-notification {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 320px;
    max-width: 420px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.toast-success {
    border-left: 3px solid var(--success);
}

.toast-notification.toast-error {
    border-left: 3px solid var(--error);
}

.toast-notification.toast-warning {
    border-left: 3px solid var(--warning);
}

.toast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.toast-success .toast-icon {
    color: var(--success);
}

.toast-error .toast-icon {
    color: var(--error);
}

.toast-warning .toast-icon {
    color: var(--warning);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.toast-message {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.toast-close:hover {
    color: var(--text);
}

/* Modal Base */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--bg-white);
    border-radius: 16px;
    width: 100%;
    max-width: 540px;
    /* max-height: 90vh; */
    /* overflow-y: auto; */
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.modal-overlay.show .modal-box {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.modal-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: 8px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--border-light);
    color: var(--text);
}

.modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Payment Summary */
.payment-summary {
    background: var(--border-light);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.payment-summary-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
}

.payment-row-label {
    color: var(--text-secondary);
}

.payment-row-value {
    color: var(--text);
    font-weight: 500;
}

.payment-row-total {
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
}

.payment-row-total .payment-row-label {
    font-weight: 600;
    color: var(--text);
}

.payment-row-total .payment-row-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

/* Installments */
.installments-section {
    margin-bottom: 24px;
}

.installments-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.installment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.installment-pay-all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
}

.installment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    transition: all 0.2s;
}

.installment-card.paid {
    background: var(--success-light);
    border-color: var(--success);
}

.installment-card.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.installment-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.installment-checkbox.checked {
    background: var(--success);
    border-color: var(--success);
}

.installment-checkbox.disabled {
    background: var(--success);
    border-color: var(--success);
    cursor: default;
}

.installment-checkbox svg {
    width: 12px;
    height: 12px;
    color: white;
    opacity: 0;
}

.installment-checkbox.checked svg,
.installment-checkbox.disabled svg {
    opacity: 1;
}

.installment-info {
    flex: 1;
}

.installment-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.installment-date {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.installment-status {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
}

.installment-status.paid {
    background: var(--success-light);
    color: var(--success);
}

.installment-status.pending {
    background: var(--warning-light);
    color: var(--warning);
}

.installment-amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* Payment Method */
.payment-method-section {
    margin-bottom: 24px;
}

.payment-method-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.saved-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.saved-card:hover {
    border-color: var(--accent);
}

.saved-card.selected {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.02);
}

.card-brand {
    width: 48px;
    height: 32px;
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: 700;
}

.card-info {
    flex: 1;
}

.card-type {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.card-number {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.card-change {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.add-card-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--border-light);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.add-card-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Add Card Form */
.add-card-form {
    display: none;
    padding: 20px;
    background: var(--border-light);
    border-radius: var(--radius);
    margin-top: 16px;
}

.add-card-form.show {
    display: block;
}

.card-input-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.card-input-group {
    flex: 1;
}

.card-input-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
}

.card-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.2s;
}

.card-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Payment Terms */
.payment-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--border-light);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.terms-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-top: 1px;
}

.terms-checkbox.checked {
    background: var(--accent);
    border-color: var(--accent);
}

.terms-checkbox svg {
    width: 12px;
    height: 12px;
    color: white;
    opacity: 0;
}

.terms-checkbox.checked svg {
    opacity: 1;
}

.terms-text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.terms-text a {
    color: var(--accent);
    text-decoration: underline;
}

/* Buttons */
.btn-primary {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary-light);
}

.btn-primary:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.btn-secondary {
    padding: 12px 24px;
    background: var(--bg-white);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--border-light);
}

/* Success Modal */
.success-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon-container svg {
    width: 40px;
    height: 40px;
    color: var(--success);
}

.success-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.success-message {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.success-details {
    background: var(--border-light);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.success-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
}

.success-detail-label {
    color: var(--text-secondary);
}

.success-detail-value {
    font-weight: 500;
    color: var(--text);
}

/* ========== FORM STYLES ========== */
.enrollment-container {
    max-width: 1000px;
    margin: 30px auto;
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-logo {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-logo svg {
    width: 24px;
    height: 24px;
    color: white;
}

.form-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.form-header p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.info-banner {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 32px;
    display: flex;
    gap: 14px;
}

.info-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-content {
    width: 100%;
    text-align: center;
}

.info-content h6 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.info-content ul {
    margin: 0;
    padding-left: 0;
    list-style-position: inside;
    display: inline-block;
    text-align: left;
}

.info-content li {
    font-size: 12px;
    color: #cc0000; /* Updated color as requested */
    margin-bottom: 4px;
}

.info-content li:last-child {
    margin-bottom: 0;
}

.form-section {
    background: var(--bg-white);
    border: 1px solid #cdd4dd;
    border-radius: 14px;
    margin-bottom: 20px;
    /* overflow: hidden; */
}

.section-header {
    padding: 18px 24px;
    border-bottom: 1px solid #cdd4dd;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fffbf2;
    border-radius: 15px 15px 0 0;
}

.section-number {
    width: 28px;
    height: 28px;
    background: #4caf50;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}
.section-number iconify-icon {
    font-size: 16px;
}
.section-title {
    font-size: 17px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
}

.section-body {
    padding: 24px;
}
.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    display: block;
}

.form-label .required {
    color: var(--error);
    margin-left: 2px;
}

.form-label .optional {
    color: var(--text-muted);
    font-weight: 400;
}

.form-control,
.form-select {
    font-size: 13px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s ease;
    background-color: var(--bg-white);
    color: var(--text);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: var(--border-light);
    color: var(--text-secondary);
}

.form-control.is-invalid {
    border-color: var(--error);
}

/* Select2 Custom Styles */
.select2-container--bootstrap-5 .select2-selection {
    font-size: 13px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    min-height: 44px;
}

.select2-container--bootstrap-5
    .select2-selection--single
    .select2-selection__rendered {
    padding: 0;
    color: var(--text);
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.select2-dropdown {
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.select2-results__option--highlighted {
    background-color: var(--accent) !important;
    color: #ffffff !important;
}

/* Flatpickr Custom */
.flatpickr-input {
    background-color: var(--bg-white) !important;
}

/* Intl Tel Input */
.iti {
    width: 100%;
}

.iti__flag-container {
    padding: 0;
}

.iti__selected-flag {
    padding: 0 8px 0 14px;
    border-radius: 8px 0 0 8px;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: var(--border-light);
}

/* Radio Buttons Custom */
.form-check {
    padding-left: 0;
    margin-bottom: 8px;
}

.form-check-input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border: 2px solid var(--border);
    cursor: pointer;
}

.form-check-input[type="radio"]:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-check-input[type="radio"]:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-check-label {
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
    margin-left: 20px;
}

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

/* File Upload */
.file-upload-area {
    border: 1px dashed #adb3bb;
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-white);
}

.file-upload-area:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.02);
}

.file-upload-area.dragover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.04);
}

.file-upload-area.has-file {
    border-color: var(--success);
    border-style: solid;
    background: rgba(34, 197, 94, 0.02);
}

.upload-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    background: #d99616;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.upload-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.upload-text span {
    color: var(--accent);
    font-weight: 500;
}

.upload-hint {
    font-size: 11px;
    color: var(--text-muted);
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f7fcff;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid #8fcdff;
}

.file-preview-icon {
    width: 36px;
    height: 36px;
    background: #008eff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid #ececec;
}

.file-preview-info {
    flex: 1;
}

.file-preview-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
}

.file-preview-size {
    font-size: 11px;
    color: var(--text-muted);
}

.file-remove-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.file-remove-btn:hover {
    color: var(--error);
}

/* Signature Pad */
.signature-container {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-white);
}

.signature-pad {
    width: 100%;
    height: 140px;
    background: var(--bg-white);
    cursor: crosshair;
}

.signature-actions {
    display: flex;
    justify-content: flex-end;
    padding: 10px 14px;
    background: var(--border-light);
    border-top: 1px solid var(--border);
}

.btn-clear-signature {
    font-size: 12px;
    padding: 6px 14px;
    background: var(--bg-white);
    border: 1px solid #f44336;
    border-radius: 6px;
    color: #f44336;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-clear-signature:hover {
    background: var(--bg-white);
    color: var(--text);
    border-color: var(--text-muted);
}

/* Amount Display */
.amount-display {
    background: #fffbf2;
    border-radius: var(--radius);
    padding: 16px 20px;
    text-align: center;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #f3da8e;
}

.amount-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.amount-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}

/* Payment Options */
.payment-option {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-white);
    width: 100%;
}

.payment-option:hover {
    border-color: var(--accent);
}

.payment-option.selected {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.02);
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.payment-option.selected .payment-radio-circle {
    border-color: var(--accent);
}

.payment-radio-circle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transform: scale(0);
    transition: transform 0.2s;
}

.payment-option.selected .payment-radio-circle::after {
    transform: scale(1);
}

.payment-option-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
}

.payment-option-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Class Selection Cards */
.class-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-white);
    height: 100%;
    width: 100%;
}

.class-card:hover {
    border-color: var(--accent);
}

.class-card.selected {
    border-color: var(--accent);
    background: rgb(244 255 248);
}

.select2-container--bootstrap-5
    .select2-dropdown
    .select2-results__options
    .select2-results__option.select2-results__option--selected,
.select2-container--bootstrap-5
    .select2-dropdown
    .select2-results__options
    .select2-results__option[aria-selected="true"]:not(
        .select2-results__option--highlighted
    ) {
    background-color: #019934 !important;
}

.select2-container--bootstrap-5
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 21px !important;
}

.class-card input[type="radio"] {
    display: none;
}

.class-date {
    font-size: 13px;
    color: #019933;
    font-weight: 600;
    margin-bottom: 0;
}

.class-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.class-duration {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Declaration Box */
.declaration-box {
    background: #f6fff7;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 20px;
    border: 1px solid #b7d0b8;
    border-left: 3px solid #4caf50;
}

.declaration-text {
    font-size: 12px;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

/* Verification Checklist */
.verification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.verification-item:hover {
    border-color: var(--accent);
}

.verification-item.checked {
    border-color: var(--success);
    background: rgba(34, 197, 94, 0.02);
}

.verification-check {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.verification-item.checked .verification-check {
    background: var(--success);
    border-color: var(--success);
}

.verification-check svg {
    width: 12px;
    height: 12px;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.verification-item.checked .verification-check svg {
    opacity: 1;
}

.verification-text {
    font-size: 13px;
    color: var(--text);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--primary);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: #18753e;
}

.btn-submit:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

/* Helper Text */
.helper-text {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Conditional Field */
.conditional-field {
    display: none;
    margin-top: 16px;
    padding: 16px;
    background: var(--border-light);
    border-radius: 8px;
}

.conditional-field.show {
    display: block;
}

/* Row spacing */
.row {
    --bs-gutter-x: 16px;
    --bs-gutter-y: 16px;
}

.mb-form {
    margin-bottom: 5px;
}

.logo img {
    width: 120px;
}

.headerMKOP {
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #ececec;
}

.detio h1 {
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 600;
}

.detio p {
    margin-bottom: 0;
    font-size: 13px;
}

/* .detio {
    text-align: center;
    margin: 0 auto;
} */

.headerMKOP {
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #ececec;
    padding: 0 30px;
    /* position: fixed; */
    width: 100%;
    z-index: 999;
}

/*Inner Banner Section css start here*/
.inner-banner {
    padding: 60px 0px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.inner-banner ul {
    display: flex;
    gap: 8px;
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: #fff;
    padding-bottom: 20px;
    border-bottom: 1px solid #ffffff2e;
    max-width: 60%;
    margin-bottom: 20px;
}

.inner-banner ul li a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    display: flex;
    align-items: center;
    color: #d8d8d8;
}

.inner-banner ul li a iconify-icon {
    font-size: 18px;
}

.inner-banner h1 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 45px;
    font-weight: 600;
}

.inner-banner p {
    max-width: 60%;
    color: #fff;
    line-height: 30px;
}
/*Inner Banner Section css End here*/
.innerWrapper {
    padding: 20px;
    background: #fff;
    border: 1px solid #cbd3da;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding-bottom: 0;
}
.form-header {
    background: linear-gradient(135deg, #098b38 0%, #11642f 100%);
    color: #ffffff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    border-radius: 5px 5px 0 0;
    margin-bottom: 0;
}

.form-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Shiny animated text */
.shiny-text {
    position: relative;
    display: inline-block;
    background: linear-gradient(
        110deg,
        #ffffff 0%,
        #f8bd21 40%,
        #e0f2ff 50%,
        #ffffff 60%,
        #ffffff 100%
    );
    background-size: 250% auto;
    background-position: 0% center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
    0% {
        background-position: 0% center;
    }
    60% {
        background-position: 200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.form-header h2 iconify-icon {
    font-size: 35px;
}
.form-header p {
    font-size: 16px;
    margin: 0;
    color: #f7f7f7;
    font-weight: 500;
}
.alert-info {
    background: #ecffed;
    border-left: 4px solid #4caf50;
    padding: 16px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2937;
}
.alert-info strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
}
.required {
    color: #ef4444;
    font-weight: 700;
}
.otpVerify {
    white-space: nowrap;
}

.circle-progress {
    position: fixed;
    width: 90px;
    height: 90px;
    right: 33px;
    bottom: 60px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 10;
}

.progress-ring__circle {
    fill: none;
    stroke: #22c55e;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 239;
    stroke-dashoffset: 245;
    transition: stroke-dashoffset 0.6s ease;
}

.progress-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

/* ====== Sidebar Container ====== */
.fix-media {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1000;
    transition: all 0.4s ease;
}

/* ====== List Style ====== */
.fix-media ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ====== Each Item ====== */
.fix-media ul li {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* ====== Icon Styling ====== */
.fix-media ul li iconify-icon {
    font-size: 22px;
}

/* ====== Tooltip ====== */
.fix-media ul li::after {
    content: attr(data-text);
    position: absolute;
    left: 50px;
    opacity: 0;
    background: #000;
    color: #fff;
    padding: 12px 18px;
    border-radius: 0px 5px 5px 0px;
    white-space: nowrap;
    transition: all 0.3s ease;
    pointer-events: none;
    transform: translateX(-10px);
}
.fix-media ul li:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ====== Colors ====== */
.fix-media ul li:nth-child(1) {
    background: #3b5998;
    border-radius: 0 5px 0 0;
}
.fix-media ul li:nth-child(2) {
    background: #000000;
    background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
}
.fix-media ul li:nth-child(3) {
    background: #0077b5;
}
.fix-media ul li:nth-child(4) {
    background: #000;
}
.fix-media ul li:nth-child(5) {
    background: #8bc34a;
}
.fix-media ul li:nth-child(6) {
    background: #bcbcbc;
    border-radius: 0 0 5px 0;
}

/* Tooltip background color */
.fix-media ul li:nth-child(1)::after {
    background: #3b5998;
}
.fix-media ul li:nth-child(2)::after {
    background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
}
.fix-media ul li:nth-child(3)::after {
    background: #0077b5;
}
.fix-media ul li:nth-child(4)::after {
    background: #000;
}
.fix-media ul li:nth-child(5)::after {
    background: #8bc34a;
}
.fix-media ul li:nth-child(6)::after {
    background: #bcbcbc;
}

/* ====== Hide Mode ====== */
.fix-media.hide {
    left: -52px;
}

/* ====== Toggle Button ====== */
.toggle-btn {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    background: #444;
    color: #fff;
    padding: 8px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: 0.3s;
}
.fix-media ul li a {
    color: #fff;
}
.fix-media ul li:hover {
    border-radius: 0px;
}

/* Responsive */
@media (max-width: 768px) {
    .enrollment-container {
        padding: 105px 16px 0px;
    }

    .detio h1 {
        font-size: 18px;
    }

    .section-body {
        padding: 20px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .form-header h1 {
        font-size: 22px;
    }

    .toast-container {
        left: 16px;
        right: 16px;
    }

    .toast-notification {
        min-width: auto;
        max-width: none;
    }

    .detio {
        text-align: right;
        margin-left: 19%;
    }

    .headerMKOP {
        padding: 0 11px;
        gap: 5px;
    }
}

/* ========== TASK LIST STYLES ========== */
/* ========== MODAL STYLES (from enroll-now) ========== */
.fin-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fin-modal-backdrop.fin-show {
    opacity: 1;
    visibility: visible;
}

.fin-modal-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 512px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.fin-modal-image {
    width: 50px;
    margin-bottom: 20px;
}

.fin-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.fin-modal-sub {
    color: #5b6b77;
    font-size: 14px;
    margin-bottom: 10px;
}

/* ========== TASK LIST STYLES ========== */
/* Enrollment Tasks Styles */
.enrollment-tasks {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.task-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.task-status.pending {
    background: #fef3c7;
    color: #d97706;
}

.task-status.completed {
    background: #d1fae5;
    color: #059669;
}

.task-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.task-name {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.task-link {
    font-size: 12px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.task-link:hover {
    text-decoration: underline;
}

.task-link.completed {
    color: #059669;
    pointer-events: none;
}

.fin-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.fin-modal-btn {
    padding: 8px 14px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    width: 50%;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fin-modal-btn.cancel {
    background: transparent;
    border: 1px solid #e6e9ee;
    color: #253244;
}

.fin-modal-btn.confirm {
    background: linear-gradient(58.28deg, #7fd288 -14.11%, #3db88b 80.9%);
    color: #fff;
}

.fin-btn-primary {
    display: inline-block;
    background: var(--authf-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.2s;
}

.fin-btn-primary:hover {
    background: #2d6b6b;
}

.fin-btn-secondary {
    display: inline-block;
    background: #e5e7eb;
    color: #4b5563;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    border: none;
}
