.rota-club {
    --rc-ink: #17202a;
    --rc-muted: #667085;
    --rc-line: #d7dde5;
    --rc-panel: #ffffff;
    --rc-accent: #d5a021;
    --rc-accent-dark: #ad7f13;
    --rc-navy: #101f33;
    --rc-sea: #116b74;
    --rc-bg: #f5f7fa;
    color: var(--rc-ink);
    font-family: inherit;
    margin: 0 auto;
    max-width: 1180px;
}

.rota-club *,
.rota-club *::before,
.rota-club *::after {
    box-sizing: border-box;
}

.rota-header {
    align-items: center;
    background: linear-gradient(135deg, var(--rc-navy), #173d53 55%, var(--rc-sea));
    border: 0;
    border-radius: 8px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 26px;
    box-shadow: 0 18px 50px rgba(16, 31, 51, .18);
}

.rota-header h2,
.rota-panel h3,
.rota-hero h1 {
    letter-spacing: 0;
    margin: 0;
}

.rota-header span,
.rota-hero span {
    color: #f1c75b;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.rota-header h2 {
    color: #fff;
    font-size: clamp(30px, 5vw, 54px);
    line-height: .95;
}

.rota-header p {
    color: rgba(255, 255, 255, .78);
    margin: 4px 0 0;
}

.rota-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.rota-panel {
    background: var(--rc-panel);
    border: 1px solid var(--rc-line);
    border-radius: 8px;
    margin: 0 0 16px;
    padding: 18px;
}

.rota-wide {
    overflow: hidden;
}

.rota-panel form {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.rota-panel label {
    color: var(--rc-ink);
    display: grid;
    font-size: 14px;
    font-weight: 600;
    gap: 6px;
}

.rota-panel input,
.rota-panel select,
.rota-panel textarea {
    border: 1px solid var(--rc-line);
    border-radius: 6px;
    color: var(--rc-ink);
    font: inherit;
    min-height: 40px;
    padding: 9px 10px;
    width: 100%;
}

.rota-panel textarea {
    min-height: 96px;
    resize: vertical;
}

.rota-button {
    align-items: center;
    background: var(--rc-accent);
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.rota-button:hover,
.rota-button:focus {
    background: var(--rc-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.rota-button.secondary {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
}

.rota-alert {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    border-radius: 8px;
    color: #067647;
    margin: 0 0 16px;
    padding: 12px 14px;
}

.rota-alert-error {
    background: #fff1f3;
    border-color: #fecdd6;
    color: #b42318;
}

.rota-table-wrap {
    overflow-x: auto;
}

.rota-table {
    border-collapse: collapse;
    margin-top: 14px;
    min-width: 680px;
    width: 100%;
}

.rota-table th,
.rota-table td {
    border-bottom: 1px solid var(--rc-line);
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}

.rota-table th {
    color: var(--rc-muted);
    font-size: 13px;
    text-transform: uppercase;
}

.rota-login {
    border: 1px solid var(--rc-line);
    border-radius: 8px;
    max-width: 420px;
    padding: 20px;
}

.rota-guest {
    max-width: none;
}

.rota-hero {
    align-items: stretch;
    background:
        linear-gradient(135deg, rgba(16, 31, 51, .98), rgba(17, 107, 116, .9)),
        url("https://www.rotaelectric.com/wp-content/uploads/2024/01/rota-electric-logo.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover, 360px auto;
    border-radius: 8px;
    color: #fff;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 260px;
    margin: 0 0 22px;
    min-height: 310px;
    overflow: hidden;
    padding: clamp(28px, 6vw, 58px);
    position: relative;
}

.rota-hero::after {
    background: linear-gradient(90deg, #f1c75b, #18a0a8);
    bottom: 0;
    content: "";
    height: 5px;
    left: 0;
    position: absolute;
    right: 0;
}

.rota-hero h1 {
    color: #fff;
    font-size: clamp(44px, 9vw, 92px);
    line-height: .9;
}

.rota-hero p {
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.6;
    margin: 18px 0 0;
    max-width: 620px;
}

.rota-hero-stats,
.rota-member-card {
    align-self: center;
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    display: grid;
    gap: 4px;
    padding: 22px;
}

.rota-hero-stats strong,
.rota-member-card strong {
    color: #fff;
    font-size: 30px;
    line-height: 1;
}

.rota-hero-stats span,
.rota-member-card span,
.rota-member-card small,
.rota-member-card em {
    color: rgba(255, 255, 255, .78);
    font-style: normal;
    letter-spacing: 0;
    text-transform: none;
}

.rota-auth-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.rota-auth-card {
    box-shadow: 0 18px 45px rgba(16, 31, 51, .08);
    margin: 0;
}

.rota-auth-card h3 {
    font-size: 24px;
}

.rota-auth-card p {
    color: var(--rc-muted);
    margin: 8px 0 16px;
}

.rota-auth-card #loginform {
    display: grid;
    gap: 12px;
}

.rota-auth-card #loginform p {
    margin: 0;
}

.rota-auth-card #loginform label {
    color: var(--rc-ink);
    display: grid;
    font-size: 14px;
    font-weight: 700;
    gap: 6px;
}

.rota-auth-card #loginform input[type="text"],
.rota-auth-card #loginform input[type="password"] {
    border: 1px solid var(--rc-line);
    border-radius: 6px;
    min-height: 42px;
    padding: 9px 10px;
    width: 100%;
}

.rota-auth-card #wp-submit {
    background: var(--rc-accent);
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    min-height: 42px;
    padding: 10px 16px;
}

.rota-register-card {
    border-color: rgba(213, 160, 33, .45);
}

.rota-member-card {
    min-height: 190px;
}

.rota-member-card strong {
    font-size: 40px;
}

@media (max-width: 640px) {
    .rota-header {
        align-items: stretch;
        flex-direction: column;
    }

    .rota-button {
        width: 100%;
    }

    .rota-hero,
    .rota-auth-grid {
        grid-template-columns: 1fr;
    }

    .rota-hero {
        min-height: 0;
        padding: 28px 18px 32px;
    }
}
