/* ======================================================
   CTA PORTAL SYSTEM
   Reusable for login / register / invites
====================================================== */

/* ---------- Base ---------- */

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

/* Center whole page */
.portal-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Main card */
.portal-card {
    width: 420px;
    max-width: 92vw;
    background: white;
    border-radius: 16px;
    padding: 42px 36px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    text-align: center;
}

/* Logo circle */
.portal-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b0006d, #7a004c);
    color: white;
    font-weight: 700;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px auto;
    letter-spacing: 1px;
}

/* Headline */
.portal-card h1 {
    margin: 0 0 12px 0;
    font-size: 28px;
    font-weight: 600;
}

/* Subtitle */
.portal-sub {
    color: #666;
    line-height: 1.5;
    margin-bottom: 28px;
}

/* Button container */
.portal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Base button */
.portal-btn {
    display: block;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.15s ease;
}

/* Primary button (deep fuchsia brand) */
.portal-btn.primary {
    background: #b0006d;
    color: white;
}

.portal-btn.primary:hover {
    background: #8c0056;
}

/* Secondary button */
.portal-btn.secondary {
    background: #f2f2f5;
    color: #333;
}

.portal-btn.secondary:hover {
    background: #e7e7ec;
}


/* ======================================================
   PORTAL FORMS
====================================================== */

.portal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.portal-form input {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #e2e2e8;
    font-size: 15px;
    transition: 0.15s;
}

.portal-form input:focus {
    outline: none;
    border-color: #b0006d;
    box-shadow: 0 0 0 3px rgba(176,0,109,0.15);
}

/* footer links */
.portal-footer {
    margin-top: 18px;
    font-size: 14px;
    color: #666;
}

.portal-footer a {
    color: #b0006d;
    text-decoration: none;
    font-weight: 600;
}

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


/* dropdown styling to match inputs */
.portal-form select {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #e2e2e8;
    font-size: 15px;
    background: white;
}

.portal-form select:focus {
    outline: none;
    border-color: #b0006d;
    box-shadow: 0 0 0 3px rgba(176,0,109,0.15);
}
