body {
    padding: 0;
    margin: 0;
    background-size: cover;
    background-position: center;
    height: 100vh;
    font-family: 'Work Sans', sans-serif;
    background: linear-gradient(rgba(21, 152, 149, 0.8), rgba(21, 152, 149, 0.8)), url(https://png.pngtree.com/background/20220726/original/pngtree-seamless-pattern-with-isometric-font-picture-image_1807283.jpg) no-repeat center center / cover;
}

.startup {
    display: flex;
    justify-content: center;
    height: 100%;
    width: 98%;
    align-items: center;
    align-content: center;
    flex-direction: row;
}

.loginform {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 40vw;
    height: auto;
    padding: 40px;
    border-radius: 10px;
    color: #8DBCC7;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 12px 40px rgba(0, 0, 0, 0.05);
}

.loginform h1 {
    color: #159895;
    font-weight: 700;
    margin-bottom: 20px;
}

input,
select {
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid #ccc;
    outline: none;
    background-color: #f9f9f9;
    color: #333;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

button {
    padding: 12px;
    border-radius: 30px;
    border: none;
    background-color: #159895;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #117876;
}

.sidetext {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    padding: 91px;
    border-radius: 5px;
    color: #F9F3EF;
    justify-content: center;
}

.sidetext h1 {
    font-size: 4vw;
    text-shadow: -7px 4px 7px #3333338a;
}

.sidetext button {
    background-color: transparent;
    border: none;
    outline: none;
    width: 120px;
    border: 1px solid #fff;
    padding: 7px 10px 7px 10px;
}

.sidetext button:hover {
    background-color: #fff;
    color: #159895;
    border: none;
    outline: none;
    width: 115px;
    border: 1px solid #fff;
    padding: 8px 15px 8px 15px;
    transition: 0.5s;
}

.aboutMain {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #66889078;
    padding: 10px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-family: 'Work Sans', sans-serif;
    transition: 1s;
}

.aboutContainer {
    margin: 13vw;
    background: #fff;
    padding: 3vw 8vw 3vw 8vw;
    border-radius: 5px;
}

.about_head {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    margin: 15px 0px 5px 0px;
}

.hedding h1 {
    position: absolute;
    top: 1vw;
    left: 2vw;
    font-size: 39px;
    text-decoration: none;
    font-family: 'Rubik Marker Hatch', system-ui;
    text-decoration: none;
    color: #fff;
    text-shadow: -4px 4px 1px #3333338a;
}

#googlebtn {
    background-color: #4285f4;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 30px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#googlebtn:hover {
    background-color: #357ae8;
}

#googlebtn i.fa-google {
    font-size: 20px;
}

@media only screen and (max-width: 600px) {
    .startup {
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: space-evenly;
    }

    .sidetext {
        width: 95%;
        padding: 15px;
        height: 30%;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .loginform {
        width: 90%;
        /* height: 70%; */
        justify-content: center;
    }

    .sidetext h1 {
        font-size: 8vw;
        text-shadow: -7px 4px 7px #3333338a;
    }

    .hedding h1 {
        left: 7%;
        font-size: 32px;
        top: 4vw;
    }

    .aboutContainer {
        margin: 10px;
        overflow: auto;
    }

    /* Enhanced error message styling */
    .error-message {
        color: #dc3545;
        background-color: #f8d7da;
        border: 1px solid #f5c6cb;
        border-radius: 5px;
        padding: 10px;
        margin: 10px 0;
        display: flex;
        align-items: center;
    }

    .success-message {
        color: #155724;
        background-color: #d4edda;
        border: 1px solid #c3e6cb;
        border-radius: 5px;
        padding: 10px;
        margin: 10px 0;
        display: flex;
        align-items: center;
    }

    .info-message {
        color: #0c5460;
        background-color: #d1ecf1;
        border: 1px solid #bee5eb;
        border-radius: 5px;
        padding: 10px;
        margin: 10px 0;
        display: flex;
        align-items: center;
    }

    .error-message i,
    .success-message i,
    .info-message i {
        margin-right: 8px;
    }

    /* Input error state */
    input.error,
    select.error {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

    /* Button loading state */
    button:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

    .spinner-border-sm {
        width: 1rem;
        height: 1rem;
        margin-right: 5px;
    }
}