* {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(180deg, #e5f7e2 0%, #f7fff8 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 16px;
}
.auth-shell {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(18, 140, 126, 0.12);
    padding: 24px 20px;
}
.auth-shell h2 {
    margin: 0 0 14px;
    font-size: 1.3rem;
    color: #128c7e;
    text-align: center;
    font-weight: 700;
}
.alert {
    background: #dcf8e6;
    border-left: 4px solid #25d366;
    color: #185a22;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}
form {
    display: grid;
    gap: 12px;
}
label {
    display: block;
    margin-bottom: 6px;
    color: #5c6f69;
    font-size: 0.9rem;
    font-weight: 500;
}
input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d9eee2;
    padding: 11px 12px;
    font-size: 1rem;
    background: #f7fff8;
    font-family: inherit;
    color: #0f2f24;
}
input:focus {
    outline: none;
    border-color: #128c7e;
    box-shadow: 0 0 0 3px rgba(18, 140, 126, 0.1);
}
button {
    background: #128c7e;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: 4px;
    box-shadow: 0 2px 8px rgba(18, 140, 126, 0.2);
}
button:hover {
    background: #0d5a52;
    box-shadow: 0 4px 12px rgba(18, 140, 126, 0.3);
    transform: translateY(-2px);
}
button:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(18, 140, 126, 0.2);
}
button:active {
    transform: scale(0.96);
}
.auth-shell p {
    margin: 14px 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: #4f6c62;
}
.auth-shell a {
    color: #128c7e;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}
.auth-shell a:active {
    opacity: 0.8;
}
@media (max-width: 480px) {
    body {
        padding: 12px;
    }
    .auth-shell {
        padding: 20px 16px;
    }
    .auth-shell h2 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }
}
