* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #2A3F54, #1E2B3A);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.login-box h2 {
    margin-bottom: 10px;
    color: #2A3F54;
    font-weight: 600;
}

.login-box p {
    color: #555;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #333;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #999;
    font-size: 14px;
    transition: 0.3s;
}

.input-group input:focus,
.input-group input:valid {
    border-bottom-color: #2A3F54;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -12px;
    font-size: 12px;
    color: #2A3F54;
}

.btn {
    background: #2A3F54;
    color: #ffffff;
    padding: 12px;
    border: none;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.btn:hover {
    background: #1E2B3A;
}

.register-text {
    margin-top: 15px;
    font-size: 14px;
}

.register-text a {
    color: #2A3F54;
    text-decoration: none;
    font-weight: bold;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


