body.regbg {
		background: linear-gradient(145deg, #f0f5fe 0%, #e9f0fa 100%);
		}
	.left-content-well {
  background: rgba(255,255,255,0.5);
  border-radius: 2rem;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(4px);
}

	.form-section-card {
  background: white;
  border-radius: 2rem;
  padding: 1.8rem 2rem;
  height: 100%;
  border: 1px solid rgba(0,70,150,0.1);
  box-shadow: 0 15px 35px -15px rgba(30,60,130,0.15);
}

ul.list {padding-left: 16px}

.reg_head h2 { text-align:center; margin-top:16px; margin-bottom:24px; font-size:24px }
.reg_logo { margin-top:24px; text-align:center; }
.reg_logo img {mix-blend-mode: multiply;}
.reg_fblike {text-align: center;}
.reg_fblike img {max-width: 100%}
.reg_subtitle {font-size: 16px; font-weight: 600}
.reg_online-back {text-align: center;}
.reg_online-back a { padding:12px 16px; background:#25613c; color:#fff; text-decoration: none; width: 250px; display: inline-block;}
.reg_online-back a:hover {background:#2c7548; color:#fff;}

.reg_mobhidecollapse {
    overflow: hidden;
    max-height: none;
    transition: max-height 0.4s ease;
}

.reg_mobhidecollapsebtn { text-align:center;
  padding: 12px 16px;
  border: 1px solid #25613c;
  width: 250px;
  margin: 12px auto;
    color: #25613c;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 600;
    display: none;
}
.reg_mobhidecollapsebtn:hover { color:#2c7548 }
.reg_title { font-weight:700; color:#293c92 }

/* ----- step circles & progress line ----- */
        .step-indicator {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding: 0 5px;
        }
        .step-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
            position: relative;
        }
        .step-circle {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background-color: #d1d9e6;
            color: #2c3e50;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.4rem;
            border: 3px solid transparent;
            transition: all 0.2s;
            box-shadow: 0 4px 8px rgba(0,0,0,0.05);
            z-index: 3;
        }
        .step-circle.active {
            background-color: #293c92;
            color: white;
            border-color: #ffffff;
            box-shadow: -2px 0 0 3px #aecdfb;
            position: relative;
            z-index: 3;
        }
        .step-circle.inactive {
            background-color: #e9ecef;
            color: #6c757d;
            border-color: #fff;
            box-shadow: -2px 0 0 3px #dee2e6;
		position:relative;
		z-index:2;
        }

        .step-wrapper:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 23px;
            right: -50%;
            width: 100%;
            height: 3px;
            background-color: #d4dae3;
            z-index: 1;
        }
        .step-wrapper.active-pass::after {
            background-color: #0d6efd !important;
        }

        .step-line-gray {
            background-color: #d4dae3;
        }
        .step-line-blue {
            cursor: pointer;
        }
        .step-label {
            margin-top: 6px;
            font-size: 13px;
            font-weight: 500;
            color: #6c757d;
            letter-spacing: 0.3px;
        }
        .step-circle.active ~ .step-label {color: #333;}

         .step-wrapper:after {
                transition: background-color 0.2s;
            }
            .step-wrapper.step-line-blue:after {
                background: linear-gradient(270deg,rgba(174, 205, 251, 1) 0%, rgba(41, 60, 146, 1) 100%); !important;
            }
            .text-end {
                text-align: right;
            }
            #step2 .form-group label, #step1 .form-group label {
                display: block;
            }

        /* divider */
        .divider-light {
            border-top: 2px dashed #cbd5e1;
            margin: 24px 0 20px 0;
        }
        /* form styles */
        .form-group label {
            font-weight: 400;
            color: #4a535e;
            font-size: 14px;
               }
        .required-field::after {
            content: " *";
            color: #dc3545;
            font-weight: 700;
        }
        .gender-options {
            display: flex;
            gap: 25px;
            align-items: center;
            margin-top: 12px;
            margin-bottom: 10px;
        }
        .gender-options label {
            font-weight: 400;
            margin-left: 5px;
        }
        .btn-save-continue {
            background-color: #293c92;
            border: none;
            padding: 12px 40px;
            font-size: 14px;
            transition: 0.15s;
            margin-top: 20px;
            color: #fff;
            border-radius: 10px;
        }
        .btn-save-continue:hover, .btn-save-continue:focus {
            background-color: #1b34a3;
            color: #fff;
        }
        .btn-outline-upload {
            background: white;
            border: 1.5px dashed #c3cfff;
            color: #2c7548;
            font-weight: 600;
            padding: 12px 25px;
            margin-top: 20px;
            border-radius: 10px;
        }
        .btn-outline-upload:hover {
            background: #fff;
            color: #2c7548;
        }
        .btn-outline-upload:focus {}

        .btn-info {
            background-color: #293c92;
            border: none;
            padding: 12px 20px;
            font-size: 14px;
            transition: 0.15s;
            color: #fff;
            border-radius: 10px;
        }
        .btn-info:hover {
            background-color: #1b34a3;
            color: #fff;
        }
        .btn-success {
            background-color: #1CAF9A;
            border: none;
            padding: 12px 20px;
            font-size: 14px;
            transition: 0.15s;
            color: #fff;
            border-radius: 10px;
        }
        .btn-success:hover {
            background-color: #17a08c;
            color: #fff;
        }


        .file-note {
            font-size: 12px;
            color: #5f6c80;
            margin-top: 4px;
        }
        .hidden-field {
            display: none;
        }
        .doc-row {
            background: #f8fafc;
            padding: 15px;
            border-radius: 16px;
            margin-bottom: 15px;
        }
        .success-message {
            background: #e2f3e4;
            border-radius: 32px;
            padding: 40px 25px;
            text-align: center;
            border: 1px solid #a3d8b0;
        }


/* Icon */
.success-icon {
    color: #198754;
    margin-bottom: 15px;
}

/* Title */
.success-title {
    font-weight: 700;
    margin-bottom: 10px;
}

/* Text */
.success-text {
    font-size: 14px; line-height: 20px;
    margin-bottom: 10px;
}

/* Contact */
.success-contact {
    margin-bottom: 25px;
    font-weight: 600;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #198754;
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #157347;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}




        .photo-upload-area {
            border: 2px dashed #c7d9f0;
            background: #f8fcff;
            border-radius: 20px;
            padding: 25px 20px;
            text-align: center;
            transition: 0.2s;
            cursor: pointer;
        }
        .photo-upload-area:hover {
            background: #e3f0fd;
            border-color: #0d6efd;
        }
        .photo-upload-area i {
            font-size: 2.8rem;
            color: #0d6efd;
            opacity: 0.8;
        }
        .photo-upload-area p {
            margin: 8px 0 0 0;
            color: #2f4b74;
            font-weight: 500;
        }
        .photo-note {
            font-size: 12px;
            color: #5d718b;
            margin-top: 5px;
        }



        /*Step 3 Upload Doc*/



        .doc-list {
            list-style: none;
            padding: 0;
            margin: 0 0 25px 0;
        }
        .doc-list li {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            background: #e7fff0;
            border-radius: 20px;
            margin-bottom: 10px;
            border: 1.5px dashed #68d692;

        }
        .doc-name {
            font-weight: 600;
            color: #1e3c5c;
            font-size: 15px;
        }
        .doc-actions a {
            margin-left: 20px;
            color: #5f6c80;
            font-weight: 500;
            text-decoration: none;
            font-size: 14px;
            border: 1px solid transparent;
            padding: 4px 10px;
            border-radius: 30px;
            transition: 0.2s;
        }
        .doc-actions a i {
            margin-right: 5px;
            font-size: 13px;
        }
        .doc-actions a.edit-link:hover {
            background: #e1ecff;
            color: #0d6efd;
            border-color: #bacdf0;
        }
        .doc-actions a.delete-link:hover {
            background: #ffe1e1;
            color: #b02a37;
            border-color: #f3b5b5;
        }
        .mandatory-note {
            background: #fef7e9;
            padding: 16px 20px;
            border-radius: 18px;
            border: 1px solid #faebcc;
            margin: 25px 0 25px 0;
            font-size: 15px;
        }
        .mandatory-note ul {
            margin-bottom: 0;
            padding-left: 20px;
        }
        .file-upload-row {
            background: #f0f5fe;
            border-radius: 20px;
            padding: 22px 25px;
            margin: 20px 0 25px;
        }
        .doc-type-select {
            /*max-width: 250px;*/
        }
        .custom-file-wrapper {
            background: white;
            border-radius: 10px;
            border: 1px solid #ced4da;
            padding: 10px 16px;
            /*display: inline-flex;*/
            align-items: center;
            gap: 8px;
            width: 100%;
            /*max-width: 320px;*/
            cursor: pointer;
          overflow: hidden;
          text-overflow: ellipsis;
          width: 100%;
          white-space: nowrap;
          display: block;
        }
        .custom-file-wrapper i {
            color: #293c92;
        }
        #realFileInput {
            display: none;
        }

        .btn-submit {
            background: #0d6efd;
            border: none;
            border-radius: 50px;
            padding: 14px 45px;
            font-weight: 700;
            font-size: 1.2rem;
            color: white;
            box-shadow: 0 8px 18px rgba(13,110,253,0.3);
        }
        .btn-submit:disabled {
            background: #a0b8d0;
            box-shadow: none;
            opacity: 0.6;
            pointer-events: none;
        }
        .small-note {
            font-size: 13px;
            color: #4d627a;
            margin-top: 6px;
        }
        .action-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            align-items: center;
            justify-content: space-between;
        }
        .empty-message {
            background: #f1f5f9;
            padding: 30px;
            border-radius: 20px;
            text-align: center;
            color: #64748b;
            font-size: 1.2rem;
            border: 2px dashed #cbd5e1;
            margin-bottom: 20px;
        }
        .empty-message i {
            font-size: 2.5rem;
            color: #94a3b8;
            margin-bottom: 10px;
        }
        .reg_listwarn {color: #614100}
        .reg_listwarn li {margin-bottom: 6px}

        .reg_prevphoto {
        width: 140px;
        border-radius: 10px;
        display: block;
        margin: 0 auto 12px;
    }


input[type="date"] {
  line-height: 20px;
} 
.form-control { height:42px }


@media (min-width: 1200px) {

    .step-wrapper {flex-direction: row;}
    .step-label {padding: 0 12px; background: #f4f6fb; z-index: 2}
    .step-wrapper:not(:last-child)::after { right:0 }

}

@media (max-width: 991px) {
    .form-section-card{ margin-top:16px }
}

@media (max-width: 767px) {
    .reg_mobhidecollapse {
        max-height: 0;
    }
    .reg_mobhidecollapse.active {
        max-height: 500px;
    }
    .reg_mobhidecollapsebtn {
        display: block;
    }
    .mmt {margin-top: 16px}
}


@media (max-width: 480px) {
    .reg_mobhidecollapsebtn {width: 100%;}
    .reg_online-back a {width: 100%}
    .btn-save-continue {width: 100%;}
    .btn-outline-upload {width: 100%}
    .btn-info, .btn-success {width: 100%; margin-top: 10px}
    .reg_mob100 {width: 100%}
    .form-section-card {padding: 1.8rem 1.5rem}

    .doc-list li {flex-direction: column; gap: 10px;}
    .doc-name { text-align: center; }
}

.enroll-root {
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    background: #f4f6fb;
    display: flex;
    align-items: stretch;
    position: relative;
  }

  /* LEFT PANEL */
  .left-panel {
    width: 300px;
    min-width: 300px;
    background: #0f1f3d;
    display: flex;
    flex-direction: column;
    padding: 40px 32px 40px 32px;
    position: relative;
    overflow: hidden;
    color: rgba(255,255,255,0.7);
  }
  .left-panel::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(82,130,255,0.12);
    z-index: 1;
  }
  .left-panel::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(82,130,255,0.08);
  }
  /* RIGHT PANEL */
  .right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px 48px;
    overflow-y: auto;
  }
  .form-header {
    margin-bottom: 36px;
  }
  .form-pretitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #293c92;
    font-weight: 500;
    margin-bottom: 6px;
  }
  .form-main-title {
    font-size: 28px;
    color: #0f1f3d;
    line-height: 1.2;
  }

  .divider-left {
    width: 100%; height: 1px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 28px;
  }
  .school-logo-wrap {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    margin-bottom: 36px;
    position: relative; z-index: 2;
  }
  .logo-circle {
    width: 174px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid rgba(255,255,255,0.2);
  }
  .school-logo-wrap img {max-width: 100%}
  .left-info-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 14px;
  }
  .doc-listlt { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; padding-left:0; }
  .doc-listlt li {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: rgba(255,255,255,0.7);
  }
  .doc-bullet {
    width: 6px; height: 6px; border-radius: 50%;
    background: #5282ff; flex-shrink: 0;
  }
  .school-name {color: #fff; font-size:18px; font-weight:700; text-align:center; }
  .back-btn {
    margin-top: auto;
    display: flex; align-items: center; gap: 8px;
    padding: 12px 18px;
    background: rgba(82,130,255,0.15);
    border: 1px solid rgba(82,130,255,0.3);
    border-radius: 10px;
    color: #8fb3ff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
    text-decoration: none;
  }
  .back-btn:hover { background: rgba(82,130,255,0.25); color: #c2d8ff; text-decoration: none; }
  .back-arrow { font-size: 16px; }
  /* FORM CARD */
  .form-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e5e9f4;
    padding: 36px 36px 28px;
    flex: 1;
  }
  .step-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f1f3d;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid #f0f2f9;
  }

  /* FORM FIELDS */

  label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6b7a99;
  }
  .field-label .req { color: #e84040; margin-left: 2px; }
  .form-control {
    height: 42px;
    border: 1.5px solid #e2e6f0;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    color: #0f1f3d;
    background: #fafbff;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    width: 100%;
  }
  .form-control:focus {
    border-color: #5282ff;
    background: #f5f8ff;
  }
  select.form-control, select.form-control:focus { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a99' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

  .chosen-container {
    height: 42px;
    border: 1.5px solid #e2e6f0;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    color: #0f1f3d;
    background: #fafbff;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    width: 100% !important;
  }
  .chosen-container:focus, .chosen-container-active.chosen-with-drop {
    border-color: #5282ff;
    background: #f5f8ff;
  }

  .chosen-container-single .chosen-single, .chosen-container-active .chosen-single { border: none !important; padding:8px 0; }
  .chosen-container-single .chosen-single div, .chosen-container-active .chosen-single div { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a99' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
  border: none !important; background-color: unset !important;
}
    .chosen-container .chosen-drop { border:1px solid #e2e6f0; }
    .chosen-container .chosen-results li.highlighted {
          background-color: #e8ecf6;
          color: #0f1f3d;
        }
 


  .chatlink {display: flex; gap: 10px;
  border: 1px solid rgba(82,130,255,0.3);
  border-radius: 4px;
  padding: 6px 10px;
  background: rgba(82,130,255,0.15);}
  .chatlink .fa {margin-top: 4px}
  .chatlink a.whatsapp-link { color: #8fb3ff; text-decoration:none; }
  .chatlink a.whatsapp-link:hover {color: rgba(255,255,255,0.8); }
   a.email-link {color: #5282ff; text-decoration:none; }
   a.email-link:hover {color: rgba(255,255,255,0.8); text-decoration:underline; }

   .errorSummary {border-radius: 10px; margin-bottom: 10px}
   .errorSummary ul {padding-left: 0}

    .errorSummary ul {
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .errorSummary ul li {
        list-style: none;
        background: rgba(255, 255, 255, 0.62);
        padding: 6px 14px;
        border-radius: 40px;
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255,42,109,0.3);
    }



  /* Responsive */
  @media(max-width: 768px) {
    .enroll-root { flex-direction: column; }
    .left-panel { width: 100%; min-width: unset; padding: 28px 24px; }
    .right-panel { padding: 24px 20px; }
    .fields-grid { grid-template-columns: repeat(2, 1fr); }
    .doc-grid { grid-template-columns: 1fr; }
  }
  @media(max-width: 480px) {
    .fields-grid { grid-template-columns: 1fr; }
    .errorSummary ul {margin-left: -32px;}
    .errorSummary ul li {width: 100%;}
  }