* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #101418;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1c1f24;
    padding: 24px;
}

.portal-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 28px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

h1 {
    margin: 0 0 16px;
    font-size: 1.4rem;
}

.partner-image {
    display: block;
    height: auto;
    margin: 0 auto 20px;
    max-height: 140px;
    max-width: 100%;
    object-fit: contain;
}

.terms {
    max-height: 260px;
    overflow-y: auto;
    padding: 12px 14px;
    background: #f4f5f7;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    border: 1px solid #e3e5e8;
}

.terms p { margin: 0 0 10px; }
.terms p:last-child { margin-bottom: 0; }

.agree {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.agree input { margin-top: 3px; }

button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

button:hover { background: #1d4ed8; }

.error {
    background: #fdecea;
    color: #b3261e;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}
