
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    margin: 2rem auto;
}


.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container img {
    width: 200px;
    height: auto;
    margin: 1rem 0;
}

h2 {
    text-align: center;
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #ffd200;
    outline: none;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    font-size: 1.1rem;
}

.toggle-password:hover {
    color: #ffd200;
}

.submit-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: #ffd200;
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: #e6bd00;
    transform: translateY(-1px);
}

.alternate-action {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.alternate-action a {
    color: #ffd200;
    text-decoration: none;
    font-weight: 500;
}

.alternate-action a:hover {
    text-decoration: underline;
}

.flash-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.flash-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Media queries for better responsiveness */
@media (max-width: 480px) {
    .form-container {
        width: 85%;
        padding: 1.5rem;
        margin: 1rem auto;
    }

    .logo-container img {
        width: 150px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .submit-btn {
        padding: 0.7rem;
    }
}

@media (max-height: 700px) {
    .form-container {
        margin: 1rem auto;
    }
}

/* For very small devices */
@media (max-width: 320px) {
    .form-container {
        width: 90%;
        padding: 1rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
        padding: 0.6rem;
    }
}