* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    background: #0f6b3f;
}

/* PAGE */
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.login-header {
    padding: 28px 20px 20px;
    text-align: center;
    color: #fff;
    transition: all 0.3s ease;
}

.login-header.compact .title,
.login-header.compact .subtitle {
    display: none;
}

.logo {
    width: 90px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.login-header.compact .logo {
    width: 64px;
    margin-bottom: 0;
}

.title {
    font-size: 24px;
    margin: 0;
}

.subtitle {
    margin-top: 6px;
    opacity: 0.9;
}

/* CARD */
.login-card {
    background: #fff;
    border-radius: 28px 28px 0 0;
    padding: 26px 20px 32px;
    margin-top: auto;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
}

/* INPUT */
.field {
    margin-bottom: 16px;
}

.field input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border-radius: 14px;
    border: 1px solid #ccc;
    outline: none;
}

.field input:focus {
    border-color: #5b2cff;
}

/* PASSWORD */
.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* BUTTON */
.login-btn {
    width: 100%;
    padding: 15px;
    background: #5b2cff;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    margin-top: 6px;
}

.login-btn:disabled {
    opacity: 0.7;
}

/* SMALL HEIGHT DEVICES */
@media (max-height: 600px) {
    .title,
    .subtitle {
        display: none;
    }
}
