/* ── Crew Connect Auth Pages ─────────────────────────────────────────────────
   Login, Register, Pricing — shared styles
   Uses the same Barlow Condensed / Source Serif 4 system as the portal
─────────────────────────────────────────────────────────────────────────── */

.cc-auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    font-family: 'Source Serif 4', Georgia, serif;
    background: linear-gradient(160deg, #07111f 0%, #0B1929 50%, #0f2340 100%);
    margin: -40px -20px; /* bleed over theme padding */
}

/* ── Split card (login page) ─────────────────────────────────────────────── */
.cc-auth-split-card {
    display: flex;
    width: 100%;
    max-width: 820px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

.cc-auth-left {
    background: #0f2033;
    color: #F5F5F0;
    flex: 1;
    padding: 48px 44px;
    border: 1px solid rgba(200,146,42,.2);
    border-right: none;
    border-radius: 20px 0 0 20px;
}

.cc-auth-right {
    flex: 0 0 300px;
    background: linear-gradient(160deg, #C8922A 0%, #A87520 100%);
    color: #0B1929;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    border-radius: 0 20px 20px 0;
}

.cc-auth-right-inner { text-align: center; }

.cc-auth-right-icon {
    font-size: 44px;
    margin-bottom: 16px;
    display: block;
    opacity: .85;
}

.cc-auth-right-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0B1929;
    margin: 0 0 12px;
}

.cc-auth-right-sub {
    font-size: 14px;
    color: rgba(11,25,41,.75);
    line-height: 1.5;
    margin-bottom: 20px;
}

.cc-auth-right-roles {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
}

.cc-auth-right-roles span {
    background: rgba(11,25,41,.12);
    border-radius: 20px;
    padding: 6px 14px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    color: #0B1929;
}

.cc-auth-btn-outline {
    display: block;
    width: 100%;
    padding: 13px;
    background: transparent;
    color: #0B1929;
    border: 2px solid #0B1929;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: background .15s, color .15s;
}
.cc-auth-btn-outline:hover {
    background: #0B1929;
    color: #C8922A;
}

/* Auth title / subtitle inside left panel */
.cc-auth-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 6px;
    letter-spacing: 1px;
    color: #F5F5F0;
}

.cc-auth-sub {
    font-size: 13px;
    color: rgba(245,245,240,.55);
    text-align: center;
    margin: 0 0 24px;
    line-height: 1.5;
}

.cc-auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cc-auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    opacity: .8;
    cursor: pointer;
}

.cc-auth-forgotpw {
    font-size: 13px;
    color: #C8922A;
    text-decoration: none;
}
.cc-auth-forgotpw:hover { text-decoration: underline; }

/* Fallback for pages that still use .cc-auth-box (forgot password, reset) */
.cc-auth-box {
    background: #0B1929;
    border: 1px solid rgba(200,146,42,.25);
    border-radius: 16px;
    padding: 48px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    color: #F5F5F0;
}

.cc-auth-box-wide { max-width: 680px; }

/* Mobile: stack the split card */
@media (max-width: 680px) {
    .cc-auth-split-card { flex-direction: column; border-radius: 16px; }
    .cc-auth-left  { border-radius: 16px 16px 0 0; border-right: 1px solid rgba(200,146,42,.2); border-bottom: none; padding: 36px 28px; }
    .cc-auth-right { flex: none; border-radius: 0 0 16px 16px; padding: 32px 28px; }
    .cc-auth-right-roles { flex-direction: row; justify-content: center; }
}

.cc-auth-logo {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
    display: block;
}

.cc-auth-box h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 6px;
    letter-spacing: 1px;
    color: #F5F5F0;
}

.cc-auth-error {
    background: rgba(224,82,82,.15);
    border: 1px solid rgba(224,82,82,.4);
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #EF9A9A;
}

.cc-auth-form { display: flex; flex-direction: column; gap: 0; }

.cc-auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.cc-auth-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}
@media(max-width:600px){ .cc-auth-field-grid { grid-template-columns: 1fr; } }

.cc-auth-field label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8A9BB0;
}

.cc-auth-field input {
    background: #1A3350;
    border: 1px solid rgba(200,146,42,.2);
    border-radius: 8px;
    padding: 12px 14px;
    color: #F5F5F0;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
}

.cc-auth-field input:focus {
    outline: none;
    border-color: #C8922A;
    box-shadow: 0 0 0 3px rgba(200,146,42,.15);
}

.cc-auth-field input::placeholder { color: rgba(255,255,255,.3); }

.cc-auth-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #C8922A;
    color: #0B1929;
    border: none;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}
.cc-auth-btn:hover { background: #E0B05A; color: #0B1929; }

.cc-auth-btn-sec {
    display: block;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: rgba(255,255,255,.6);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color .15s, color .15s;
}
.cc-auth-btn-sec:hover { border-color: rgba(255,255,255,.4); color: #F5F5F0; }

/* Account type selector on register */
.cc-account-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.cc-account-type-btn {
    border: 2px solid rgba(200,146,42,.2);
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    text-align: center;
    transition: all .15s;
    background: rgba(255,255,255,.03);
}
.cc-account-type-btn input { display: none; }
.cc-account-type-btn:hover { border-color: rgba(200,146,42,.5); }
.cc-account-type-btn.active {
    border-color: #C8922A;
    background: rgba(200,146,42,.12);
}

.cc-account-type-icon { font-size: 28px; margin-bottom: 6px; }
.cc-account-type-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #F5F5F0;
    margin-bottom: 4px;
}
.cc-account-type-sub {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    line-height: 1.4;
}
