/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Background */
body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: linear-gradient(180deg, #0A0E1A, #0D1220);
    color: #e9edef;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card */
.container {
    width: 100%;
    max-width: 380px;
    background: #1A2233;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: fadeIn 0.5s ease;
}

/* Titles */
h2 {
    text-align: center;
    margin-bottom: 18px;
    color: #A8D4FF; /* baby green */
    font-weight: 600;
}

/* Inputs */
input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #1E2A3A;
    background: #101829;
    color: #e9edef;
    font-size: 14px;
}

input::placeholder {
    color: #8696a0;
}

input:focus {
    outline: none;
    border-color: #4A90D9;
    box-shadow: 0 0 0 1px #4A90D9;
}

/* Buttons */
button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4A90D9, #3A7BBD);
    color: #0A0E1A;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 5px;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(91, 155, 213, 0.35);
}

button:active {
    transform: scale(0.98);
}

/* Secondary links */
a {
    color: #7EC8E3;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* Text blocks */
p {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
}

/* Message */
#msg {
    margin-top: 15px;
    text-align: center;
    color: #ffd36a;
    font-weight: 500;
}

/* Divider */
hr {
    border: none;
    border-top: 1px solid #1E2A3A;
    margin: 18px 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}