.rcm-login-box,
.rcm-portal {
    max-width: 960px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #dce7f3;
    border-radius: 20px;
    box-shadow: 0 16px 45px rgba(5, 23, 50, .10);
    color: #0f2344;
}
.rcm-login-box h2,
.rcm-portal h2 {
    margin-top: 0;
}
.rcm-login-box input[type="text"],
.rcm-login-box input[type="password"] {
    width: 100%;
    max-width: 420px;
}
.rcm-button,
.rcm-login-box .button,
.rcm-login-box input[type="submit"] {
    display: inline-block;
    background: #061b3a;
    color: #fff !important;
    border: 0;
    border-radius: 10px;
    padding: 11px 18px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
}
.rcm-portal-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f2f7ff 100%);
}
.rcm-portal-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}
.rcm-club-mark {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: #061b3a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.rcm-portal-hero h2 {
    font-size: 30px;
    margin: 0 0 4px;
}
.rcm-portal-hero p {
    margin: 0;
    color: #58708f;
}
.rcm-portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.rcm-portal-grid a {
    display: block;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #dce7f3;
    border-radius: 18px;
    text-decoration: none;
    color: #0f2344;
    box-shadow: 0 8px 22px rgba(5, 23, 50, .06);
    transition: transform .15s ease, box-shadow .15s ease;
}
.rcm-portal-grid a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(5, 23, 50, .12);
}
.rcm-portal-grid span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: #eef5ff;
    font-size: 25px;
    margin-bottom: 12px;
}
.rcm-portal-grid strong {
    display: block;
    font-size: 17px;
}
.rcm-portal-grid small {
    display: block;
    color: #58708f;
    margin-top: 4px;
}
@media (max-width: 640px) {
    .rcm-login-box,
    .rcm-portal {
        margin: 20px 10px;
        padding: 22px;
    }
    .rcm-portal-hero {
        align-items: flex-start;
    }
}
