
:root {
    --primary: #FF7F2A;
    --primary-light: #FFD6BC;
    --secondary: #2EA355;
    --secondary-light: #C5EACD;
    --neutral-dark: #333333;
    --neutral-medium: #9E9E9E;
    --neutral-light: #F4F4F4;
    --white: #FFFFFF;
    --error: #EF5350;
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--neutral-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
}

.form-container {
    width: 100%;
    max-width: 420px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    color: var(--neutral-dark);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

p {
    color: var(--neutral-medium);
    font-size: 16px;
    margin-bottom: 28px;
}

.form-item {
    margin-bottom: 20px;
    position: relative;
}

label {
    display: block;
    color: var(--neutral-dark);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-light);
    border-radius: var(--radius);
    font-size: 16px;
    color: var(--neutral-dark);
    transition: var(--transition);
    background-color: var(--white);
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

input::placeholder {
    color: var(--neutral-medium);
    opacity: 0.7;
}

.error {
    color: var(--error);
    font-size: 12px;
    margin-top: 4px;
    min-height: 18px;
}

.submit-button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    background-color: var(--primary);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #E86C1A;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 127, 42, 0.3);
}

.submit-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(255, 127, 42, 0.3);
}

.login-redirect {
    margin-top: 24px;
    text-align: center;
    color: var(--neutral-medium);
    font-size: 14px;
}

.login-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.login-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}


.error-alert {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;


}

.password-requirements {
    background-color: #f0f0f0; /* Light gray background */
    border-radius: 8px; /* Rounded corners */
    padding: 15px; /* Padding inside the block */
    margin: 20px auto; /* Center the block horizontally */
    width: 80%; /* Set a width for the block */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    text-align: center; /* Center the text */
}

.password-requirements p {
    font-weight: bold; /* Make the text bold */
    margin-bottom: 10px; /* Add space below the paragraph */
}

.password-requirements ul {
    list-style-type: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
}

.password-requirements li {
    margin: 5px 0; /* Add space between list items */
}


@media (min-width: 768px) {
    .form-container {
        padding: 40px 32px;
        max-width: 480px;
    }
    
    body {
        background-size: contain;
        background-position: center;
    }
    
    h2 {
        font-size: 28px;
    }
}

@media (min-width: 1024px) {
    .form-container {
        max-width: 520px;
    }
}
