/* login.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    background: linear-gradient(135deg, #036159, #2f8f81);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInBody 1s ease-in;
}

@keyframes fadeInBody {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-container {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    max-width: 1000px;
    width: 90%;
    margin: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
    justify-content: center;
}

.hero-content {
    max-width: 400px;
    color: #fff;
    text-align: center;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.5;
}

#login-container {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    height: 400px;
    animation: popIn 0.8s ease-out;
}

@keyframes popIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#login-container h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #036159;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: #036159;
    box-shadow: 0 0 6px rgba(3, 97, 89, 0.3);
}

.error {
    color: #e63946;
    font-size: 12px;
    margin-top: 3px;
}

#submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #036159, #2f8f81);
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, background 0.4s;
    margin-top: 10px;
}

#submit-btn:hover {
    transform: scale(1.03);
    background: linear-gradient(to right, #024f46, #26776e);
}

#form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

#form-footer a {
    color: #036159;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

#form-footer a:hover {
    text-decoration: underline;
    color: #024f46;
}
