@font-face {
    font-family: StudentStoriesFont;
    src: url('../fonts/Lionel Text Genuine Regular.ttf');
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #ff6f61, #e43b6f, #FFD700, #F0A81E, #007bff);
    background-size: 300% 300%;
    animation: gradientAnimation 15s ease infinite;
    margin: 0;
    font-family: StudentStoriesFont, Arial, sans-serif;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.StudentStoriesLoginContainer {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.StudentStoriesLoginFormBox {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.StudentStoriesLoginLogoTileContainer {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
}

.StudentStoriesLoginLogo {
    height: 15px;
    transform: scaleX(-1);
}

.StudentStoriesLoginTitle {
    font-size: 12px;
    font-weight: bold;
    margin-left: 2.5px;
}

.StudentStoriesLoginh2 {
    margin-bottom: 0px;
    font-size: 30px;
}

.StudentStoriesLoginSubtitle {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

.StudentStoriesLoginInputWrapper {
    position: relative;
    width: 300px;
    margin-bottom: 40px;
    text-align: center;
}

.StudentStoriesLoginInputWrapper label {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 16px;
    color: #999;
    transition: all 0.3s;
}

.StudentStoriesLoginInputWrapper input.StudentStoriesLoginInput, .StudentStoriesLoginInputWrapper select.StudentStoriesLoginSelect {
    padding-top: 30px;
    width: calc(100% - 20px);
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    border: 2px solid black;
    outline: none;
    display: block;
    margin: 0 auto;
}

.StudentStoriesLoginInputWrapper .error {
    position: absolute;
    bottom: -27.5px;
    left: 0;
    width: 100%;
    color: red;
    text-align: center;
}

input.StudentStoriesLoginInput, select.StudentStoriesLoginSelect, button.StudentStoriesLoginButton {
    font-family: StudentStoriesFont, Arial, sans-serif;
    width: calc(100% - 20px);
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid black;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    outline: none;
}

input.StudentStoriesLoginInput::placeholder, select.StudentStoriesLoginSelect::placeholder {
    color: #999;
}

input.StudentStoriesLoginInput:-webkit-autofill, select.StudentStoriesLoginSelect:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    box-shadow: 0 0 0 1000px white inset !important;
}

input.StudentStoriesLoginInput, select.StudentStoriesLoginSelect {
    -webkit-text-fill-color: black !important;
}

button.StudentStoriesLoginButton, input[type="submit"].StudentStoriesLoginButton {
    display: block;
    margin: 0 auto;
    padding: 5px 10px;
    border: none;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: auto;
}

button.StudentStoriesLoginButton:hover, input[type="submit"].StudentStoriesLoginButton:hover {
    background-color: #0056b3;
}

.StudentStoriesLoginForgotPasswordLink {
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
}

.StudentStoriesLoginForgotPasswordLink a {
    color: #000;
    text-decoration: none;
    font-size: 12px;
}

.StudentStoriesLoginForgotPasswordLink a:hover {
    text-decoration: underline;
}
