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

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f4f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    padding: 20px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 60px 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 460px;
    width: 100%;
}

.logo svg {
    width: 110px;
    height: 110px;
    margin-bottom: 30px;
}

h1 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-weight: 700;
}

.message {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 36px;
}

.btn {
    display: inline-block;
    background-color: #3aaa35;
    color: white;
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #2e8a2a;
    transform: translateY(-2px);
}

/* ---- Login page ---- */
.login-card {
    background: white;
    border-radius: 20px;
    padding: 60px 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    width: 100%;
}

.login-card h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.login-card .subtitle {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 36px;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group input {
    width: 100%;
    padding: 14px 48px 14px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    border-color: #3aaa35;
}

.form-group input:focus::placeholder {
    opacity: 0;
}

.btn-toggle-pw {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #aaa;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.btn-toggle-pw:hover {
    color: #3aaa35;
}

.btn-toggle-pw svg {
    width: 20px;
    height: 20px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #3aaa35;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: #2e8a2a;
    transform: translateY(-2px);
}

.error-msg {
    color: #e53935;
    font-size: 0.88rem;
    margin-top: 14px;
    display: none;
}

/* ---- Welcome page ---- */
.welcome-info {
    background-color: #f0f9f0;
    border: 1.5px solid #c8e6c9;
    border-radius: 12px;
    padding: 18px 24px;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #2e7d32;
    font-weight: 500;
}