body {
    background-image: url('/Images/registration_bg.png');
    width: 100%;
    height: fit-content;
    background-size: cover;
    background-position: bottom center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-block: 2em;
}

a {
    color: inherit;
}

.registration-form-container {
    width: 90%;
    height: 90%;
    margin-inline: auto;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(38.43%, 38.43% 38.43%, 0.3));
    border: 2px solid rgba(127, 127, 127, 0.5);
    border-radius: 20px;
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 2em;
    justify-content: center;
    align-items: center;
}

.left-side .heading {
    font-size: 2rem;
    color: #00bf63;
    font-weight: bold;
    margin-bottom: 1em;
    line-height: 1.2em;
}

.success-message {
    display: none;
    background: rgba(0, 191, 99, 0.15);
    border: 2px solid #00bf63;
    color: #00bf63;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.error-message {
    display: none;
    background: rgba(255, 68, 68, 0.15);
    border: 2px solid #ff4444;
    color: #ff4444;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 45% 50%;
    justify-content: space-between;
    color: white;
}

.form-wrapper>div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5em;
    margin-bottom: 1.5em;
    font-size: 1.1rem;
}

.form-wrapper input,
.form-wrapper select {
    background-color: transparent;
    color: white;
    font-size: 1.1rem;
    border: 1px solid #8a8d91;
    outline: none;
    padding: .5em .8em;
    border-radius: 6px;
    transition: border-color 0.3s;
}

.form-wrapper input.error,
.form-wrapper select.error {
    border-color: #ff4444 !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.form-wrapper .contact-number-div {
    display: flex;
    border: 1px solid #8a8d91;
    border-radius: 6px;
    transition: border-color 0.3s;
}

.form-wrapper .contact-number-div.error {
    border-color: #ff4444 !important;
}

.form-wrapper #contact-number,
.form-wrapper #country-code {
    border: none;
    outline: none;
    font-size: 1.1rem;
}

.form-wrapper #country-code {
    width: 60px;
    cursor: pointer;
    margin-right: 8px;
    min-width: 60px;
    margin-left: 8px;
    background-color: transparent;
    color: white;
    padding: 0;
    font-size: 1rem;
}

.form-wrapper select option {
    color: black;
}

.form-wrapper #contact-number {
    border-left: 1px solid #8a8d91;
    border-radius: 0;
    padding: .4em .8em;
    color: white;
    max-width: 170px;
}

.college-name-container,
.program-name-container {
    width: 100%;
    position: relative;
}

.college-drop-down,
.program-drop-down {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid black;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    color: black;
}

.college-drop-down div,
.program-drop-down div {
    padding: .5em;
    cursor: pointer;
}

.college-drop-down div:hover,
.program-drop-down div:hover {
    background-color: #f0f0f0;
}

.college-drop-down div:active,
.program-drop-down div:active {
    background-color: #e0e0e0;
}

#other-clg {
    cursor: not-allowed;
}

#other-clg.active {
    cursor: text;
}

#courseId {
    display: none;
}

.notes-section {
    color: white;
    margin-bottom: 2em;
    line-height: 1.2em;
}

.notes-section h2 {
    margin-bottom: .5em;
}

.notes-section li:not(:last-child) {
    margin-bottom: 1em;
}

.notes-section>div {
    border: 1px solid white;
    padding: 1em 2em;
}

.buttons-div {
    display: flex;
    gap: 2em;
    justify-content: center;
}

.submit-btn,
.catalog-btn {
    border: none;
    background-image: linear-gradient(to right, #4a9c67, #3d5940);
    color: white;
    padding: .8em 1.6em;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: .8px;
    display: block;
    transition: opacity 0.3s;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.right-side {
    color: white;
    justify-self: center;
    width: 80%;
}

.right-side>div {
    margin-bottom: 3em;
}

.right-side>div:nth-child(1) {
    margin-bottom: .5em;
}

.right-side .title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2em;
    text-align: center;
}

.right-side .title>span {
    color: #00bf63;
}

.right-side .description {
    font-size: 1.3rem;
    line-height: 1.2em;
}

.progress-container {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

.progress-container>div>div {
    margin-bottom: .5em;
    text-align: center;
    letter-spacing: 2px;
    font-size: 1.3rem;
}

.progress-container .progress {
    width: 150px;
    margin-inline: auto;
    height: 20px;
    background-color: #fff;
    border-radius: 20px;
    position: relative;
}

.progress-container .progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #00bf63;
    border-radius: 20px;
}

.progress-container>div:nth-child(1) .progress::before {
    width: 50%;
}

.progress-container>div:nth-child(2) .progress::before {
    width: 75%;
}

.progress-container>div:nth-child(3) .progress::before {
    width: 90%;
}

@media (max-width:1300px) {
    body {
        overflow-y: scroll;
        height: auto;
        padding: 3em 0;
    }

    .registration-form-container {
        display: flex;
        flex-direction: column-reverse;
        height: auto;
        row-gap: 5em;
    }

    .left-side {
        width: 80%;
        margin-inline: auto;
    }

    .registration-form-container .heading {
        text-align: center;
    }

    .form-wrapper>div {
        font-size: 1.3rem;
    }

    .form-wrapper input,
    .form-wrapper select {
        font-size: 1.3rem;
    }

    .form-wrapper #contact-number,
    .form-wrapper #country-code {
        font-size: 1.3rem;
    }

    .form-wrapper #country-code {
        font-size: 1.3rem;
    }

    .submit-btn {
        font-size: 1.3rem;
    }
}

@media (max-width:850px) {
    .registration-form-container .heading {
        font-size: 2rem;
    }

    .left-side {
        width: 100%;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
        width: 70%;
        margin-inline: auto;
    }
}

@media (max-width:750px) {
    .right-side {
        width: 90%;
    }

    .right-side .title {
        font-size: 2rem;
    }

    .progress-container>div,
    .progress-container .progress {
        width: 100px;
        height: 10px;
    }

    .progress-container>div>div {
        font-size: 1rem;
    }
}

@media (max-width:600px) {

    .right-side .title {
        font-size: 1.7rem;
    }

    .right-side .description {
        font-size: 1.3rem;
    }

    .registration-form-container {
        padding: 2em 1em;
        width: 90%;
    }

    .form-wrapper {
        grid-template-columns: 400px;
        justify-content: center;
    }

    .registration-form-container .heading {
        font-size: 1.5rem;
    }
}

@media (max-width:550px) {

    .form-wrapper {
        grid-template-columns: 350px;
    }

    .registration-form-container .heading {
        font-size: 1.5rem;
    }

    .form-wrapper>div {
        font-size: 1.1rem;
    }

    .form-wrapper input,
    .form-wrapper select {
        font-size: 1.1rem;
    }

    .form-wrapper #contact-number,
    .form-wrapper #country-code {
        font-size: 1.1rem;
    }

    .form-wrapper #country-code {
        font-size: 1.1rem;
    }

    .submit-btn {
        font-size: 1.1rem;
    }
}

@media (max-width:470px) {

    .progress-container>div,
    .progress-container .progress {
        width: 80px;
    }

    .registration-form-container .heading {
        font-size: 1.3rem;
    }

    .form-wrapper {
        grid-template-columns: 320px;
    }
}

@media (max-width:400px) {

    .progress-container>div>div {
        font-size: .7rem;
    }

    .progress-container>div,
    .progress-container .progress {
        width: 70px;
    }

    .form-wrapper {
        grid-template-columns: 280px;
    }
}