* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100vh; /* Adjust the height as needed */
    margin: 0; /* Remove default body margin */
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.form_container {
    max-width: 320px;
    width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Adjust the margin as needed */
}

.form_container h2 {
    font-size: 22px;
    color: #0b0217;
    text-align: center;
}

.input_box {
    position: relative;
    margin-top: 30px;
    width: 100%;
    height: 40px;
}

.input_box input {
    height: 100%;
    width: calc(100% - 60px);
    border: none;
    outline: none;
    padding: 0 30px;
    color: #333;
    transition: all 0.2s ease;
    border-bottom: 1.5px solid #aaa;
    background-color: #fff;
}

.input_box input:focus {
    border-color: var(--primary-color);
}

.input_box i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #707070;
}

.input_box i.password,
.input_box i.email {
    left: 0;
}

.input_box input:focus ~ i.password,
.input_box input:focus ~ i.email {
    color: var(--primary-color);
}

.option_field {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form_container a {
    color: var(--primary-color);
    font-size: 12px;
}

.form_container a:hover {
    text-decoration: underline;
}

.checkbox {
    display: flex;
    column-gap: 8px;
    white-space: nowrap;
}

.checkbox input {
    accent-color: var(--primary-color);
}

.checkbox label {
    font-size: 12px;
    cursor: pointer;
    user-select: none;
    color: #0b0217;
}

.form_container .button {
    color: #fff;
    background-color: blue;
    margin-top: 30px;
    width: 100%;
    padding: 10px 0;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.footer {
    font-size: 12px;
    color: #fff;
    text-align: center;
    width: 100%;
}

.password-requirements {
    font-size: 10px;
    color: #333;
}

/* Base style for all messages */
.alert {
    margin-bottom: 13px;
    border: 1px solid transparent;
    color: #fff;
    font-size: 14px;
}

/* Success messages */
.alert.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

/* Error messages */
.alert.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Warning messages */
.alert.warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

/* Info messages */
.alert.info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
