/* ============================================
   RESET & BASE
============================================ */

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

html,
body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2a3547;
    min-height: 100vh;
    position: relative;
}

/* ============================================
   BACKGROUND (thay ảnh tại /images/background.jpg)
   Ảnh gợi ý: đồng lúa / cánh đồng xanh / nông thôn Việt Nam
============================================ */

.page-background {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: url("../images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* fallback màu xanh đồng lúa khi chưa có ảnh thật */
    background-color: #4a7c3c;
}

@media (min-width: 769px) {
    .page-background {
        background-attachment: fixed;
    }
}

.page-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 30, 15, 0.15) 0%, rgba(10, 30, 15, 0.3) 100%);
}

/* ============================================
   LAYOUT
============================================ */

.register-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 16px;
    gap: 32px;
}

@media (min-width: 769px) {
    .register-wrapper {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .register-wrapper {
        padding: 24px 16px;
        gap: 16px;
    }
}

/* ============================================
   HERO TEXT (nội dung placeholder, dễ đổi sau)
============================================ */

.hero-text {
    max-width: 640px;
    text-align: center;
    padding: 0 8px;
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 17px;
    font-weight: 500;
    color: #f1f5f2;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
        margin-bottom: 6px;
    }
    .hero-subtitle {
        font-size: 13px;
    }
}

/* ============================================
   REGISTER CARD (CTA sang trang đăng ký thật)
============================================ */

.register-card {
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 32px;
}

@media (max-width: 480px) {
    .register-card {
        padding: 18px;
        margin: 0;
    }
}

.register-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #1a2438;
    margin-bottom: 12px;
}

.register-desc {
    font-size: 14px;
    color: #5b6b82;
    text-align: center;
    margin-bottom: 24px;
}

@media (max-width: 480px) {
    .register-title {
        font-size: 19px;
        margin-bottom: 8px;
    }
    .register-desc {
        font-size: 13px;
        margin-bottom: 16px;
    }
}

/* ============================================
   SUBMIT BUTTON (link ra trang đăng ký thật)
============================================ */

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #2f9e44, #237a34);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 8px 20px rgba(47, 158, 68, 0.3);
}

.submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(47, 158, 68, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .submit-button {
        height: 46px;
        font-size: 15px;
    }
}