/* CNTS Core Access — Rider registration + Rider Hub */

.cnts-rider-register,
.cnts-resend-verification,
.cnts-rider-hub {
    box-sizing: border-box;
}

.cnts-rider-register *,
.cnts-resend-verification *,
.cnts-rider-hub * {
    box-sizing: border-box;
}

/* Registration shell */
.cnts-rider-register,
.cnts-resend-verification {
    max-width: 760px;
    margin: 0 auto 24px;
    padding: 28px;
    background: rgba(15,15,15,.96);
    border: 1px solid #333;
    color: #d8d3cc;
}

.cnts-rider-register label,
.cnts-resend-verification label {
    display: block;
    margin-bottom: 7px;
    color: #e8e3da;
    font-weight: 800;
}

.cnts-rider-register input,
.cnts-resend-verification input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    background: #171717;
    color: #e8e3da;
    border: 1px solid #555;
    border-radius: 3px;
}

.cnts-rider-register input:focus,
.cnts-resend-verification input:focus {
    outline: none;
    border-color: #d71920;
    box-shadow: 0 0 0 1px rgba(215,25,32,.35);
}

.cnts-rider-register-message {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-left: 3px solid #d71920;
    background: #202020;
    color: #e8e3da;
}

.cnts-rider-register-success {
    border-left-color: #58735d;
}

.cnts-rider-register-error {
    border-left-color: #d71920;
}

/* Rider Hub */
.cnts-rider-hub {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.82)),
        url('https://cnts.life/wp-content/uploads/2026/09/heroride.png')
        center / cover fixed no-repeat;
    color: #b9b3aa;
}

.cnts-rider-hub-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.cnts-rider-hub-hero {
    padding: 105px 0 55px;
}

.cnts-rider-hub-eyebrow,
.cnts-rider-hub-card-kicker {
    color: #8f8a82;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cnts-rider-hub-hero h1 {
    margin: 12px 0 16px;
    color: #e8e3da;
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    line-height: .96;
    font-weight: 900;
}

.cnts-rider-hub-hero p {
    max-width: 760px;
    margin: 0;
    color: #b9b3aa;
    font-size: 1.05rem;
    line-height: 1.7;
}

.cnts-rider-hub-notice {
    max-width: 760px;
    margin-top: 24px;
    padding: 14px 16px;
    border-left: 3px solid #d71920;
    background: rgba(20,20,20,.9);
    color: #d8d3cc;
}

.cnts-rider-hub-main {
    padding: 20px 0 90px;
}

.cnts-rider-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.cnts-rider-hub-card {
    min-height: 250px;
    padding: 28px;
    background: rgba(20,20,20,.94);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.cnts-rider-hub-card h2 {
    margin: 12px 0 12px;
    color: #e8e3da;
    font-size: 1.45rem;
    font-weight: 900;
}

.cnts-rider-hub-card p {
    margin: 0 0 24px;
    color: #b9b3aa;
    line-height: 1.65;
}

.cnts-rider-hub-button {
    margin-top: auto;
    display: inline-block;
    align-self: flex-start;
    padding: 12px 16px;
    background: #f1eee8;
    color: #111 !important;
    border: 1px solid #f1eee8;
    text-decoration: none !important;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cnts-rider-hub-button:hover {
    background: #d71920;
    border-color: #d71920;
    color: #fff !important;
}

.cnts-rider-hub-button-secondary {
    background: transparent;
    color: #d8d3cc !important;
    border-color: #77716a;
}

@media (max-width: 900px) {
    .cnts-rider-hub-grid {
        grid-template-columns: 1fr;
    }

    .cnts-rider-hub {
        background-attachment: scroll;
    }
}

@media (max-width: 600px) {
    .cnts-rider-register,
    .cnts-resend-verification {
        padding: 20px;
    }

    .cnts-rider-hub-hero {
        padding: 72px 0 40px;
    }

    .cnts-rider-hub-main {
        padding-bottom: 55px;
    }
}
