/* General styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f3f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    animation: fadeIn 1s ease;
}

/* Login container */
.login-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(11, 9, 10, 0.15);
    text-align: center;
    width: 360px;
    animation: slideUp 0.8s ease;
    transition: transform 0.3s ease;
}

.login-container:hover {
    transform: translateY(-5px);
}

/* Heading */
.login-container h2 {
    margin-bottom: 20px;
    color: #660708;
    font-size: 26px;
    font-weight: bold;
}

/* Input fields */
input {
    width: calc(100% - 20px);
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #b1a7a6;
    border-radius: 10px;
    font-size: 16px;
    background: #f5f3f4;
    color: #0b090a;
    transition: border 0.3s ease, background 0.3s ease;
}

input:focus {
    border-color: #ba181b;
    background: #ffffff;
}

/* Login button */
button {
    width: 100%;
    padding: 12px;
    background: #ba181b;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #e5383b;
    transform: scale(1.02);
}

/* Signup link */
p {
    margin-top: 15px;
    font-size: 14px;
    color: #161a1d;
}

p a {
    color: #ba181b;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

p a:hover {
    color: #e5383b;
    text-decoration: underline;
}

/* Error message */
.error-message {
    color: #a4161a;
    font-size: 14px;
    background: #ffe5e5;
    padding: 10px;
    border-left: 4px solid #ba181b;
    margin-bottom: 15px;
    text-align: center;
    border-radius: 6px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
