
:root {
    --green: #547b65;
    --dark: #263d32;
    --mint: #e8f1e9;
    --cream: #faf9f5;
    --white: #ffffff;
    --text: #293a30;
    --muted: #89948a;
    --border: #edf0e9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--cream);
    color: var(--text);
}

.register-container {
    width: 100%;
    max-width: 460px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 12px 35px rgba(38, 61, 50, 0.06);
}

.logo {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: var(--dark);
}

.logo span {
    color: var(--green);
}

.tagline {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px;
}

h2 {
    color: var(--dark);
    text-align: center;
    margin: 28px 0 8px;
    font-size: 24px;
}

.subtitle {
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 25px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dfe6dd;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 17px;
    outline: none;
}

input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(84, 123, 101, 0.12);
}

button,
.login-button {
    display: block;
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: var(--green);
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

button:hover,
.login-button:hover {
    background: var(--dark);
}

.message {
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
}

.message.error {
    background: #fce8e6;
    color: #a3473e;
}

.message.success {
    background: #e2f3e7;
    color: #39744b;
}

.welcome-message {
    text-align: center;
    line-height: 1.7;
}

.login-link {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 23px;
}

.login-link a {
    color: var(--green);
    font-weight: 700;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-top: 24px;
    font-size: 11px;
    color: var(--muted);
}

@media (max-width: 480px) {
    .register-container {
        padding: 25px 20px;
    }
}
