body {
    background-color: #e8e8e8;
    font-family: 'Open Sans';
    margin: 0px;
}

.body {
    transition-duration: 0.3s;
    font-family: 'Open Sans';
    background-color: #e8e8e8;
}

#main {
    font-family: 'Open Sans';
}

body::before,
body::after {
    display: none;
}

#main::before,
#main::after {
    display: none;
}

.loginContainer1 {
    margin-top: 10%;
    width: 50%;
    height: 90%;
    float: left;
}

.loginContainer3 {
    margin-top: 10%;
    width: 100%;
    height: 90%
}

.textContainer {
    margin-top: 10%;
    margin-left: 30%;
    margin-bottom: 10%;
    margin-right: 10%
}

.loginContainer2 {
    margin-top: 150px;
    float: right;
    width: 50%;
    overflow-y: auto;
    padding-bottom: 120px;
}

.loginBox {
    background-color: #ffffff;
    margin-top: 10px;
    border: 1px solid #cccccc;
    width: 400px;
    border-radius: 8px;
    display: none;
    min-height: 300px;
    position: relative;
    margin-top: 200px;
    overflow: visible;
    box-shadow:
        0.6px 0.6px 4.2px -10px rgba(0, 0, 0, 0.07),
        1.5px 1.4px 10px -10px rgba(0, 0, 0, 0.054),
        2.9px 2.6px 18.8px -10px rgba(0, 0, 0, 0.046),
        5.1px 4.7px 33.5px -10px rgba(0, 0, 0, 0.039),
        9.6px 8.8px 62.7px -10px rgba(0, 0, 0, 0.032),
        23px 21px 150px -10px rgba(0, 0, 0, 0.023);
}

.passwordBox {
    background-color: #ffffff;
    margin-top: 10px;
    border: 1px solid #cccccc;
    width: 400px;
    border-radius: 8px;
    display: none;
    margin: auto;
    min-height: 300px;
}

.loginBoxSkeleton {
    background: linear-gradient(90deg, #d6d6d6 0%, #e8e8e8 50%, #d6d6d6 100%);
    background-size: 200% 100%;
    animation: shimmer 2.5s linear infinite;
    -webkit-animation: shimmer 2.5s linear infinite;
    will-change: background-position;
    margin-top: 10px;
    border: 1px solid #d6d6d6;
    width: 400px;
    border-radius: 8px;
    min-height: 300px;
    margin-top: 200px;
}

.passwordBoxSkeleton {
    background: linear-gradient(90deg, #d6d6d6 0%, #e8e8e8 50%, #d6d6d6 100%);
    background-size: 200% 100%;
    animation: shimmer 2.5s linear infinite;
    -webkit-animation: shimmer 2.5s linear infinite;
    will-change: background-position;
    margin-top: 10px;
    border: 1px solid #d6d6d6;
    width: 400px;
    border-radius: 8px;
    min-height: 300px;
    margin: auto;
}

.loginBoxSkeleton2 {
    background: linear-gradient(90deg, #cccccc 0%, #dadada 50%, #cccccc 100%);
    background-size: 200% 100%;
    animation: shimmer 2.5s linear infinite;
    -webkit-animation: shimmer 2.5s linear infinite;
    will-change: background-position;
    border: 1px solid #cccccc;
    height: 30px;
    border-radius: 8px;
    width: 80%;
    margin-bottom: 20px;
    margin-left: 10%;
    margin-top: 50px;
}

.passwordMatch {
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    width: 100%;
    margin-bottom: 30px;
    margin-top: 0px;

}

.errorBox {
    background-color: rgb(252, 101, 101, 0.3);
    margin-top: 10px;
    border: 2px solid rgb(252, 101, 101);
    border-radius: 8px;
    margin-left: 10%;
    width: 80%;
    margin-bottom: 20px;
    display: none;

}

.errorText {
    color: #2F2E2E;
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
}

.forgotPasswordBox {
    text-align: center;
    margin-left: 10%;
    width: 80%;
    margin-bottom: 40px;
    margin-top: 20px;

}

.forgotPassword {
    color: #2a81f2;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    width: 100%;
    cursor: pointer;
}

.loginBackButton {
    color: #2a81f2;
    position: absolute;
    font-size: 16pt;
    top: -15px;
    right: 10px;
    cursor: pointer
}

.loginInput {
    font-family: 'Open Sans';
    padding: 9px 10px 7px 10px;
    border: 1px solid #cccccc;
    font-size: 12px;
    border-radius: 8px;
    color: #605e5e;
    padding: 12px 20px;
    margin-left: 10%;
    width: calc(80% - 42px);
    margin-bottom: 20px;
    background-color: #f7f9fc;
}

.loginInput:hover {
    border: 1px solid #cccccc;
    outline: none;
}

.loginInput:focus {
    -webkit-box-shadow: 0 0 0 2px rgba(108, 166, 247, 1);
    box-shadow: 0 0 0 2px rgba(108, 166, 247, 1);
    border: none;
    outline: none;
    -webkit-appearance: none;
}

.codeInput {
    font-family: 'Open Sans';
    padding: 9px 10px 7px 10px;
    border: 1px solid #cccccc;
    font-size: 20px;
    text-align: center;
    border-radius: 8px;
    color: #605e5e;
    padding: 12px 20px;
    margin-left: 10%;
    width: calc(80% - 42px);
    margin-bottom: 20px;
    margin-top: 30px;
    background-color: #f7f9fc;
}

.codeInput:hover {
    border: 1px solid #cccccc;
    outline: none;
}

.codeInput:focus {
    -webkit-box-shadow: 0 0 0 2px rgba(108, 166, 247, 1);
    box-shadow: 0 0 0 2px rgba(108, 166, 247, 1);
    border: none;
    outline: none;
    -webkit-appearance: none;
}

.sendCodeButton {
    transition-duration: 0.2s;
    font-family: 'Open Sans';
    padding: 5px 7px 5px 7px;
    border: 1px solid #cccccc;
    color: #2a81f2;
    background-color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 8px;
    position: absolute;
    width: 60px;
    cursor: pointer;
    right: 0px;
    bottom: -40px;
    text-align: center;
    width: 150px;
    height: 30px
}

.sendCodeButton:hover:enabled {
    background-color: #2a81f2;
    color: #ffffff;
    border-color: #2a81f2;
}

.button {
    transition-duration: 0.2s;
    font-family: 'Open Sans';
    padding: 9px 10px 9px 10px;
    border: 1px solid #cccccc;
    color: #2a81f2;
    background-color: #ffffff;
    font-size: 12px;
    margin-bottom: 40px;
    margin-right: 0px;
    margin-left: 30%;
    margin-top: 25px;
    border-radius: 10px;
    width: 40%;
    display: block;
    cursor: pointer;
}

.button:hover:enabled {
    background-color: #2a81f2;
    color: #ffffff;
    border-color: #2a81f2;
}

button:disabled,
button[disabled] {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    color: #cccccc;
    cursor: auto
}

.loginH1 {
    font-family: 'montserrat';
    font-size: 18px;
    margin-left: 5px;
    margin-top: 5px;
    display: block;
    color: #605e5e;
    margin-right: 0px;
    font-weight: bold;
}

.h0 {
    font-size: 55px;
    margin-left: 5px;
    margin-top: 5px;
    margin-bottom: 0px;
    display: block;
    color: #2a81f2;
    margin-right: 0px;
    font-weight: bold;
    cursor: pointer;
}

.h2 {
    font-size: 11.5px;
    display: block;
    margin-top: 30px;
    margin-left: 30px;
    margin-bottom: 20px;
    color: #605e5e;
}

.termsText {
    font-size: 11px;
    display: block;
    margin-top: 30px;
    margin-left: 15%;
    width: 70%;
    margin-bottom: 20px;
    color: #605e5e;
    text-align: center;
    font-weight: bold;
    line-height: 165%;
}

.h3 {
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #cccccc;
    text-align: center;
}

.google {
    border: none;
    position: fixed;
    top: 10px;
    right: 0px;
    z-index: 10;
}

.google2 {
    border: none;
    display: block;
    margin: auto;
    margin-top: -10px;
}

.tickModal {
    display: block;
    position: fixed;
    z-index: 1000;
    padding-top: 200px;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #ffffff;
    background-color: rgba(0, 0, 0, 0.3);
}

.tickBox {
    vertical-align: top;
    height: 120px;
    width: 160px;
    border-radius: 5px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    margin: auto;
}

.tickIcon {
    color: #06bf00;
    font-size: 100px;
    text-align: center;
    width: 100%;
    line-height: 100%;
    margin-top: 10px;
}

/* Very small devices (phones, less than 600px) */
@media only screen and (max-width: 600px) {

    .loginContainer1 {
        display: none
    }

    .google {
        display: none
    }

    .loginContainer2 {
        width: 100%
    }

    .loginBox {
        margin: auto;
        max-width: 90%;
    }

    .passwordBox {
        margin: auto;
        max-width: 100%;
    }

    .loginBoxSkeleton {
        margin: auto;
        max-width: 90%;
    }

    .passwordSkeletonBox {
        margin: auto;
        max-width: 100%;
    }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

    .loginContainer1 {
        display: none
    }

    .google {
        display: none
    }

    .loginContainer2 {
        width: 100%
    }

    .loginBox {
        margin: auto;
        max-width: 90%;
    }

    .passwordBox {
        margin: auto;
        max-width: 90%;
    }

    .loginBoxSkeleton {
        margin: auto;
        max-width: 90%;
    }

    .passwordSkeletonBox {
        margin: auto;
        max-width: 90%;
    }

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    .loginContainer1 {
        display: none
    }

    .google {
        display: none
    }

    .loginContainer2 {
        width: 100%
    }

    .loginBox {
        margin: auto;
        max-width: 90%;
    }

    .passwordBox {
        margin: auto;
        max-width: 90%;
    }

    .loginBoxSkeleton {
        margin: auto;
        max-width: 90%;
    }

    .passwordSkeletonBox {
        margin: auto;
        max-width: 90%;
    }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

    .loginContainer1 {
        display: block;
        width: 50%
    }

    .google {
        display: block
    }

    .loginContainer2 {
        width: 50%
    }

    .loginBox {
        margin-left: 0px;
    }

    .passwordBox {
        margin: auto;
    }

    .loginBoxSkeleton {
        margin: auto;
        max-width: 90%;
    }

    .passwordSkeletonBox {
        margin: auto;
        max-width: 90%;
    }

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

    .loginContainer1 {
        display: block;
        width: 45%
    }

    .google {
        display: block
    }

    .loginContainer2 {
        width: 50%
    }

    .loginBox {
        margin-left: 0px;
    }

    .passwordBox {
        margin: auto;
    }

    .loginBoxSkeleton {
        margin-left: 0px;
    }

    .passwordSkeletonBox {
        margin: auto;
    }

}

/* Add the shimmer animation keyframes if not already present */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@-webkit-keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Add this to your CSS file */
input[type="text"],
input[type="password"],
input[type="email"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* School dropdown styles */
.schoolSearchContainer {
    position: relative;
    margin-left: 10%;
    width: calc(80% - 42px);
    margin-bottom: 20px;
}

.schoolSearchContainer .loginInput {
    width: 100%;
}

.schoolDropdown {
    position: absolute;
    top: calc(100% - 10px);
    width: calc(100% + 40px);
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 8px;
    max-height: 175px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.schoolDropdown.show {
    display: block;
}

.schoolOption {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    color: #605e5e;
    transition: background-color 0.2s;
}

.schoolOption:hover {
    background-color: #f7f9fc;
}

.schoolOption:last-child {
    border-bottom: none;
}

.schoolOption.selected {
    background-color: #e8f4fd;
    color: #2a81f2;
    font-weight: bold;
}

.schoolName {
    font-weight: 600;
    margin-bottom: 2px;
}

.schoolPostcode {
    font-size: 10px;
    color: #999999;
}

.noSchoolsFound {
    padding: 15px;
    text-align: center;
    color: #999999;
    font-size: 11px;
    font-style: italic;
}

/* Custom scrollbar for school dropdown */
.schoolDropdown::-webkit-scrollbar {
    width: 6px;
}

.schoolDropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.schoolDropdown::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 3px;
}

.schoolDropdown::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

/* Loading state for school search */
.schoolSearchLoading {
    padding: 15px;
    text-align: center;
    color: #999999;
    font-size: 11px;
}

.schoolSearchLoading::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 5px;
    border: 2px solid #cccccc;
    border-top: 2px solid #2a81f2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments for school dropdown */
@media only screen and (max-width: 600px) {
    .schoolSearchContainer {
        margin-left: 5%;
        width: calc(90% - 42px);
    }
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
    .schoolSearchContainer {
        margin-left: 5%;
        width: calc(90% - 42px);
    }
}

/* Remember school checkbox styles */
.rememberSchoolContainer {
    margin-left: calc(10% + 20px);
    width: calc(80% - 42px - 15px);
    margin-top: -15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.rememberSchoolCheckbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #2a81f2;
}

.rememberSchoolCheckbox:checked {
    background-color: #2a81f2;
    border-color: #2a81f2;
}

.rememberSchoolLabel {
    font-size: 12px;
    color: #605e5e;
    cursor: pointer;
    user-select: none;
}

/* Selected school display styles */
.selectedSchoolDisplay {
    background-color: #f7f9fc;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 15px 15px 20px 15px;
    width: calc(100% - 56px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.selectedSchoolName {
    color: #605e5e;
    font-weight: 600;
    flex-grow: 1;
    margin-right: 10px;
}

.changeSchoolButton {
    background: none;
    border: none;
    color: #2a81f2;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.changeSchoolButton:hover {
    background-color: #e8f4fd;
}

/* User type selection styles */
.userTypeDescription {
    font-size: 11px;
    color: #605e5e;
    text-align: center;
    margin: 10px 15% 25px 15%;
    width: 70%;
    line-height: 150%;
}

.userTypeOptions {
    margin: 0 10% 30px 10%;
    width: 80%;
}

.userTypeOption {
    background-color: #f7f9fc;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.userTypeOption:hover {
    background-color: #e8f4fd;
    border-color: #2a81f2;
    box-shadow: 0 2px 8px rgba(42, 129, 242, 0.15);
}

.userTypeOption:last-child {
}

.userTypeInfo {
    flex-grow: 1;
}

.userTypeTitle {
    font-size: 12px;
    font-weight: 600;
    color: #2a81f2;
    margin-bottom: 3px;
}

.userTypeSubtitle {
    font-size: 10px;
    color: #999999;
    font-style: italic;
}

.userTypeIcon {
    font-size: 16px;
    color: #2a81f2;
    margin-left: 15px;
}