* {
    font-family: Inter, sans-serif;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #FEF2F2;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.page-bg {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
}

.register-box {
    background: #FFF;
    border-radius: 12px;
    box-shadow: 0 10px 10px 3px rgba(246, 11, 11, 0.2), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
    padding: 22px 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.icon-wrap {
    background: rgba(227, 19, 19, 0.15);
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrap img {
    width: 26px;
    height: 26px;
}

.register-title {
    text-align: center;
    margin-bottom: 10px;
}

.register-title h1 {
    color: #DC2626;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.register-title p {
    color: #737373;
    font-size: 13px;
    margin: 0;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

form label {
    color: #1A1A1A;
    font-size: 13px;
    font-weight: 600;
    margin: 7px 0 4px 0;
}

.required {
    color: #DC2626;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="password"] {
    background: #FEF2F2;
    border: 0.667px solid rgba(220, 38, 38, 0.20);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: #1A1A1A;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="password"]:focus {
    border-color: rgba(220, 38, 38, 0.5);
}

.terms-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
}

.terms-row input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #DC2626;
    cursor: pointer;
}

.terms-label {
    color: #1A1A1A;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer;
    margin: 0;
}

.terms-error {
    color: #DC2626;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    margin: 6px 0 0 0;
    line-height: 1.4;
}

form button {
    margin-top: 12px;
    background: #DC2626;
    color: #FFF;
    border: none;
    border-radius: 999px;
    padding: 11px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

form button:hover {
    background: #b91c1c;
}

.login-link {
    margin-top: 12px;
    color: #737373;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-link a {
    color: #DC2626;
    font-weight: 600;
    text-decoration: none;
}

.back-menu {
    display: block;
    margin-top: 8px;
    color: #737373;
    font-size: 13px;
    text-decoration: none;
}

.back-menu:hover {
    color: #DC2626;
}

/* Footer */
footer {
    background-color: #7B1515;
    color: #fff;
    padding: 14px 0 0 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 0 40px 12px;
    flex-wrap: wrap;
}

.footer-col h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 6px 0;
}

.footer-col p {
    font-size: 12px;
    font-weight: 400;
    margin: 0 0 3px 0;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 8px;
}

.footer-bottom p {
    margin: 2px 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

