@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(120deg, #6a11cb, #2575fc);
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

.login {
    background-color: #ffffff;
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

h3 {
    text-align: center;
    color: #2e2e2e;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 24px;
}

.login label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 600;
    font-size: 14px;
}

.login input[type="text"],
.login input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
    background-color: #fff;
    outline: none;
}

.login input[type="submit"] {
    width: 100%;
    padding: 13px;
    background-image: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login input[type="submit"]:hover {
    background-image: linear-gradient(to right, #5b0fd5, #2060e0);
}

p {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}
