:root {
    --primary-color: #4facfe;
    --secondary-color: #00f2fe;
    --text-dark: #333;
    --glass-bg: rgba(255, 255, 255, 0.95);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 20px;
    height:auto!important;
}
.error{
    color: red;
}
.admission-container {
    background: var(--glass-bg);
    width: 100%;
    max-width: 800px;
    padding: 40px;
    border-radius: 20px;
    margin-top:50px;
    margin-bottom:50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.clge_img img{
    width: 100%;
}
h1 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: #A90F0F;
    margin: 10px auto;
    border-radius: 2px;
}

.dflex{
    display: flex;
    flex-wrap: wrap;
}
.form_fields {
    margin: 10px 0;
    padding: 0 20px;
}
.form_fields {
    display: flex;
    flex-direction: column;
}

.form_fields.full-width {
    grid-column: span 2;
}

input,
select,
textarea {
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px!important;
    outline: none;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 8px rgba(79, 172, 254, 0.2);
}

.label_title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: #555;
}

/* Note Container */
.note_container{
    margin-top:50px;
    padding: 30px;
    border-radius: 4px;
    background-color: #00f2fe17;
}
.note_container p{
    font-size: 16px;
    font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
}
.txt_heigh{
    font-weight: 700;
    color: #0B50FF;
}
.note_container ul{
    display: flex;
    padding: 20px 0;
    border-radius: 4px;
    background-color: #A90F0F;
}
.note_container ul li{
    font-size: 16px;
    font-weight: 500;
    color: #FFF;
    padding: 0 15px;
    list-style: none;
    font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
}
/* Note Container */

#admissionForm button{
    background: linear-gradient(to right, #A90F0F, #a90f0f70);
}

.ui.multiple.dropdown {
    padding: 6px 15px!important;
    border: 2px solid #eee!important;
    border-radius: 8px!important;
    font-size: 14px!important;
    font-weight: 400!important;
    outline: none!important;
    transition: all 0.3s ease!important;
    background: #f9f9f9!important;
    font-family: sans-serif!important;
    font-size: 100%!important;
    line-height: 1.15!important;
    margin: 0!important;
    color: unset!important;
}
.ui.default.dropdown:not(.button)>.text, .ui.dropdown:not(.button)>.default.text {
    color: rgb(137 137 137)!important;
}
/* Custom Radio Buttons */
.radio_group {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.radio_card {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    padding: 8px 20px;
    border-radius: 50px;
    transition: 0.3s;
}

.radio_card input {
    cursor: pointer;
}

.radio_card:hover {
    background: #e0e0e0;
}

/* Submit Button */
button[type="submit"] {
    grid-column: span 2;
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

/* Responsive Design */
@media (max-width: 600px) {
    .admission-container{
        max-width:100%;
    }
    .row {
        grid-template-columns: 1fr;
    }

    .form_fields.full-width,
    button[type="submit"] {
        grid-column: span 1;
    }

    .admission-container {
        padding: 20px;
    }
}

.ui.dropdown {
    max-width: 800px;
}

@media only screen and (max-width: 767px) {
    .admission-container{
        max-width:100%;
    }
    .ui.selection.dropdown .menu {
        /*      max-height: 8.01428571rem; /* + 1.335714285 to 9.349999995rem */
        /*      max-height: 9.349999995rem; /* Adds a half */
        max-height: 16.02857142rem;
        /* Double size */
    }
}

@media only screen and (min-width: 768px) {
    .ui.selection.dropdown .menu {
        /*         max-height: 10.68571429rem; /* + 1.3357142863 to 12.0214285763rem */
        max-height: 12.0214285763rem;
    }
}

@media only screen and (min-width: 992px) {
    .ui.selection.dropdown .menu {
        max-height: 16.02857143rem;
        /* + 1.3357142858 to 17.3642857158rem */
    }
}

@media only screen and (min-width: 1920px) {
    .ui.selection.dropdown .menu {
        max-height: 21.37142857rem;
        /* + 1.3357142856 to 22.7071428556rem */
    }
}