@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #752738;
    --fb-blue: #fec452;
    --text-black: #050505;
    --text-gray: #65676b;
    --input-bg: #f5f6f7;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--text-black);
}

.fb-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
}

.top-nav {
    display: flex;
    align-items: center;
    padding: 10px 0 20px;
}

.back-icon {
    font-size: 1.2rem;
    color: var(--text-black);
    cursor: pointer;
    margin-right: 15px;
}

.meta-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #0064e0;
    font-size: 0.9rem;
    font-weight: 600;
}

.meta-logo i {
    font-size: 1.1rem;
}

.header-section h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.header-section p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.4;
    margin-bottom: 25px;
}

.section {
    margin-bottom: 20px;
}

.section-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.title-hint {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.input-row {
    display: flex;
    gap: 10px;
}

.input-row>* {
    flex: 1;
}

input,
select {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--input-bg);
    border: 1px solid #dddfe2;
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--text-black);
    transition: background-color 0.2s;
}

input::placeholder {
    color: #8d949e;
}

input:focus,
select:focus {
    outline: none;
    background-color: #ffffff;
    border-color: var(--primary);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.spacing-xs {
    height: 10px;
}

.field-hint {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 8px;
    line-height: 1.3;
}

.field-hint a {
    color: var(--fb-blue);
    text-decoration: none;
}

.footer-text {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin: 25px 0;
    line-height: 1.4;
}

.footer-text a {
    color: var(--fb-blue);
    text-decoration: none;
}

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

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    /* Rounded pill button */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}

.submit-btn:hover {
    filter: brightness(0.9);
}

.login-link {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.login-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 400px) {
    .input-row {
        flex-direction: row;
        /* Keep row for name like FB */
    }
}