* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f2f5f3;
    color: #1c2b26;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* Logo sizing */
.auth-logo {
    max-width: 160px;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem auto;
}

/* Background image styling (if using a split panel) */
.auth-bg {
    background-image: url('/assets/images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh; /* Or adjust based on layout */
}

/* For the overlay on the background image */
.auth-bg-overlay {
    background: rgba(0, 0, 0, 0.4); /* Dark overlay to make text readable */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15, 40, 30, 0.08);
}

.auth-card h1 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #10362a;
}

.auth-subtitle {
    margin: 0 0 24px;
    color: #5b6b64;
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #33443c;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d5ddd8;
    border-radius: 8px;
    font-size: 14px;
    background: #fbfcfb;
}

input:focus,
select:focus {
    outline: none;
    border-color: #2f8f5b;
    box-shadow: 0 0 0 3px rgba(47, 143, 91, 0.15);
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: #206b46;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-primary:hover {
    background: #185536;
}

.auth-footer {
    margin: 20px 0 0;
    text-align: center;
    font-size: 14px;
    color: #5b6b64;
}

.auth-footer a {
    color: #206b46;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
}

.alert ul {
    margin: 0;
    padding-left: 18px;
}

.alert-error {
    background: #fdecec;
    color: #9c2b2b;
    border: 1px solid #f5c6c6;
}

.alert-success {
    background: #e9f7ef;
    color: #1e6b3c;
    border: 1px solid #b7e4c7;
}
