/* Base styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
}

/* Header section */
.header {
    background-color: #004085;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.logo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.logo {
    height: 50px;
    width: auto;
}

.logo:first-child {
    filter: brightness(0) invert(1);
}

.title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

/* Form section */
.form-container {
    padding: 2rem;
}

h1 {
    color: #004085;
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: #f8f9fa;
    box-sizing: border-box;
}

input[type="email"]:hover,
input[type="password"]:hover {
    border-color: #004085;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #004085;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 64, 133, 0.2);
    background-color: white;
}

/* Button styles */
.button {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    background-color: #004085;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
}

.button:hover {
    background-color: #002752;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button.secondary {
    background-color: #28a745;
}

.button.secondary:hover {
    background-color: #218838;
}

/* Links */
.links {
    text-align: center;
    margin: 1rem 0;
}

.links a {
    color: #004085;
    text-decoration: none;
    font-weight: 500;
}

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

/* Resend email section */
.resend-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.resend-section input {
    margin-bottom: 1rem;
}

/* Error messages */
.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .container {
        margin: 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .logo {
        height: 40px;
    }
}