/* ==========================================================================
   RaktDaan — site design system
   Single source of truth for the whole public site: landing page, marketing
   pages, member area and the auth screens all render through these classes.
   Everything is scoped to the "rd-" prefix so it never collides with the
   Tailwind based admin panel.
   ========================================================================== */

:root {
    --rd-red: #ed1b2f;
    --rd-red-dark: #d9162b;
    --rd-red-light: #fff0f2;

    --rd-navy: #102b49;
    --rd-text: #193453;
    --rd-muted: #637791;

    --rd-border: #eadfe2;

    --rd-white: #ffffff;

    --rd-bg: #ffffff;

    --rd-container: 1440px;

    --rd-radius: 10px;
    --rd-radius-sm: 6px;

    --rd-shadow-sm: 0 6px 18px rgba(16, 43, 73, 0.06);
    --rd-shadow: 0 10px 30px rgba(16, 43, 73, 0.10);
    --rd-shadow-lg: 0 18px 45px rgba(16, 43, 73, 0.14);

    --rd-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--rd-text);
    background: var(--rd-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--rd-red);
    outline-offset: 2px;
    border-radius: 3px;
}

::selection {
    background: var(--rd-red);
    color: #fff;
}

.rd-container {
    width: min(94%, var(--rd-container));
    margin-inline: auto;
}

.rd-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--rd-red);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 8px 0;
    font-size: 13px;
    font-weight: 600;
}

.rd-skip-link:focus {
    left: 0;
}

.rd-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

.rd-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.25s var(--rd-ease);
}

.rd-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(16, 43, 73, 0.08);
}

.rd-navbar {
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.rd-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rd-logo img {
    width: 176px;
    height: auto;
}

.rd-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
}

.rd-nav-item {
    position: relative;
}

.rd-nav a,
.rd-nav button {
    font-size: 13px;
    font-weight: 500;
    color: var(--rd-navy);
    white-space: nowrap;
    position: relative;
    padding: 23px 0;
    background: none;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.18s var(--rd-ease);
}

.rd-nav a:hover,
.rd-nav button:hover {
    color: var(--rd-red);
}

.rd-nav a i,
.rd-nav button i {
    font-size: 9px;
    transition: transform 0.2s var(--rd-ease);
}

.rd-nav-item:hover > button i,
.rd-nav-item:focus-within > button i {
    transform: rotate(180deg);
}

.rd-nav a.active {
    color: var(--rd-red);
}

.rd-nav a.active::after {
    content: "";
    position: absolute;
    height: 2px;
    background: var(--rd-red);
    left: 0;
    right: 0;
    bottom: 15px;
    border-radius: 2px;
}

.rd-dropdown {
    position: absolute;
    top: 100%;
    left: -14px;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: 10px;
    box-shadow: var(--rd-shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s var(--rd-ease), transform 0.18s var(--rd-ease), visibility 0.18s;
}

.rd-nav-item:hover .rd-dropdown,
.rd-nav-item:focus-within .rd-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rd-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 12.5px;
}

.rd-dropdown a:hover {
    background: var(--rd-red-light);
    color: var(--rd-red);
}

.rd-dropdown a i {
    font-size: 12px;
    color: var(--rd-red);
    width: 14px;
}

.rd-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.rd-search-button {
    border: 0;
    background: transparent;
    color: var(--rd-navy);
    font-size: 15px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.18s var(--rd-ease), color 0.18s var(--rd-ease);
}

.rd-search-button:hover {
    background: var(--rd-red-light);
    color: var(--rd-red);
}

.rd-login-btn {
    border: 1px solid var(--rd-red);
    color: var(--rd-red);
    border-radius: 7px;
    padding: 9px 20px;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.18s var(--rd-ease), color 0.18s var(--rd-ease);
}

.rd-login-btn:hover {
    background: var(--rd-red-light);
}

.rd-register-btn,
.rd-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--rd-red);
    color: #fff;
    border: 1px solid var(--rd-red);
    border-radius: var(--rd-radius-sm);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s var(--rd-ease), box-shadow 0.18s var(--rd-ease), transform 0.18s var(--rd-ease);
}

.rd-register-btn:hover,
.rd-primary-btn:hover {
    background: var(--rd-red-dark);
    border-color: var(--rd-red-dark);
    box-shadow: 0 8px 20px rgba(237, 27, 47, 0.22);
}

.rd-login-btn.is-active {
    background: var(--rd-red);
    color: #fff;
}

.rd-login-btn.is-active:hover {
    background: var(--rd-red-dark);
    border-color: var(--rd-red-dark);
    color: #fff;
}

.rd-register-btn.is-active {
    background: var(--rd-red-dark);
    border-color: var(--rd-red-dark);
    box-shadow: 0 8px 20px rgba(237, 27, 47, 0.22);
}

.rd-primary-btn:active {
    transform: translateY(1px);
}

.rd-dashboard-btn {
    background: var(--rd-navy);
    border-color: var(--rd-navy);
}

.rd-dashboard-btn:hover {
    background: #0b2038;
    border-color: #0b2038;
    box-shadow: 0 8px 20px rgba(16, 43, 73, 0.22);
}

.rd-user-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 3px 10px 3px 3px;
    border: 1px solid var(--rd-border);
    border-radius: 30px;
    background: #fff;
    max-width: 190px;
}

.rd-user-chip-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.rd-user-chip-name {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--rd-navy);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-user-chip-role {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rd-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-login-btn i,
.rd-register-btn i {
    font-size: 11px;
}

.rd-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--rd-red);
    background: #fff;
    border: 1px solid var(--rd-red);
    border-radius: var(--rd-radius-sm);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.18s var(--rd-ease), color 0.18s var(--rd-ease);
}

.rd-outline-btn:hover {
    background: var(--rd-red);
    color: #fff;
}

.rd-mobile-menu {
    display: none;
    border: 0;
    background: none;
    color: var(--rd-navy);
    font-size: 20px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
}

.rd-nav-backdrop {
    display: none;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.rd-hero {
    background:
        linear-gradient(90deg, rgba(255, 246, 247, 0.98) 0%, rgba(255, 249, 249, 0.95) 38%, rgba(255, 255, 255, 0.35) 66%, rgba(255, 255, 255, 0) 100%),
        url("../images/raktdaan-hero.jpg") right center / cover no-repeat;
}

.rd-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 45px;
    align-items: center;
    padding: 44px 0 48px;
}

.rd-small-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid #f1e5e7;
    border-radius: 30px;
    padding: 5px 13px 5px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--rd-navy);
    box-shadow: var(--rd-shadow-sm);
}

.rd-small-badge span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--rd-red-light);
    color: var(--rd-red);
    font-size: 10px;
}

.rd-hero h1 {
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.08;
    color: var(--rd-navy);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 16px 0 0;
    max-width: 620px;
}

.rd-hero h1 span {
    color: var(--rd-red);
}

.rd-hero p {
    max-width: 560px;
    color: #3c5675;
    font-size: 14.5px;
    line-height: 1.7;
    margin: 16px 0 22px;
}

.rd-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 20px;
    font-size: 11.5px;
    font-weight: 500;
    color: #55708f;
}

.rd-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rd-hero-trust i {
    color: var(--rd-red);
    font-size: 11px;
}

.rd-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rd-hero-buttons .rd-primary-btn,
.rd-hero-buttons .rd-outline-btn {
    padding: 12px 24px;
    font-size: 12.5px;
}

/* ==========================================================================
   HERO SEARCH CARD
   ========================================================================== */

.rd-search-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(234, 223, 226, 0.9);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--rd-shadow-lg);
}

.rd-search-title {
    display: flex;
    gap: 11px;
    align-items: center;
    margin-bottom: 14px;
}

.rd-location-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--rd-red-light);
    color: var(--rd-red);
    font-size: 15px;
}

.rd-search-title h2 {
    font-size: 15.5px;
    color: var(--rd-navy);
    line-height: 1.25;
}

.rd-field {
    margin-bottom: 11px;
}

.rd-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2a4462;
}

.rd-field input,
.rd-field select {
    width: 100%;
    height: 38px;
    border: 1px solid #dde4ec;
    border-radius: 7px;
    padding: 0 12px;
    outline: none;
    color: #3e536c;
    font-size: 12.5px;
    background-color: #fff;
    transition: border-color 0.18s var(--rd-ease), box-shadow 0.18s var(--rd-ease);
    appearance: none;
    -webkit-appearance: none;
}

.rd-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23637791' d='M1.4 1.4 6 6l4.6-4.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    padding-right: 30px;
    cursor: pointer;
}

.rd-field input::placeholder {
    color: #9aa8b8;
}

.rd-field input:focus,
.rd-field select:focus {
    border-color: var(--rd-red);
    box-shadow: 0 0 0 3px rgba(237, 27, 47, 0.12);
}

.rd-search-submit {
    width: 100%;
    height: 40px;
    border: 0;
    background: var(--rd-red);
    color: #fff;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    transition: background 0.18s var(--rd-ease), box-shadow 0.18s var(--rd-ease);
}

.rd-search-submit:hover {
    background: var(--rd-red-dark);
    box-shadow: 0 8px 20px rgba(237, 27, 47, 0.25);
}

.rd-search-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 11px;
    font-size: 10.5px;
    color: var(--rd-muted);
}

.rd-search-note i {
    color: var(--rd-red);
}

.rd-search-status {
    margin-top: 9px;
    font-size: 10.5px;
    color: var(--rd-muted);
    min-height: 14px;
}

/* ==========================================================================
   STATS
   ========================================================================== */

.rd-stat-section {
    background: #fff7f8;
    border-bottom: 1px solid #f4e4e7;
}

.rd-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rd-stat {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 22px;
    border-right: 1px solid #eddcdf;
}

.rd-stat:last-child {
    border-right: 0;
}

.rd-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fde8ec;
    color: #d62828;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rd-stat-svg {
    display: block;
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.rd-stat-text {
    min-width: 0;
}

.rd-stat-text strong {
    display: block;
    color: var(--rd-red);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.rd-stat-text > span {
    display: block;
    color: #58708b;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.35;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.rd-section {
    padding: 34px 0;
}

.rd-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
}

.rd-section-heading > span {
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: var(--rd-red);
    margin-top: 9px;
    flex-shrink: 0;
}

.rd-section-heading h2 {
    font-size: 21px;
    color: var(--rd-navy);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.rd-section-heading p {
    font-size: 11.5px;
    color: #5d7691;
    margin-top: 2px;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */

.rd-how-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 28px;
    align-items: center;
}

.rd-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
}

.rd-step {
    width: 152px;
}

.rd-step-icon {
    width: 54px;
    height: 54px;
    background: var(--rd-red-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rd-red);
    font-size: 19px;
    margin-bottom: 10px;
    transition: transform 0.25s var(--rd-ease), background 0.25s var(--rd-ease);
}

.rd-step:hover .rd-step-icon {
    transform: translateY(-3px);
    background: #ffe3e7;
}

.rd-step h3 {
    font-size: 12.5px;
    color: var(--rd-navy);
    font-weight: 700;
    margin-bottom: 4px;
}

.rd-step p {
    font-size: 10.5px;
    color: #627994;
    line-height: 1.55;
}

.rd-step-arrow {
    padding-top: 20px;
    color: #c3cedb;
    font-size: 12px;
}

.rd-impact-card {
    min-height: 200px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff2f3 0%, #ffe4e8 100%);
    border: 1px solid #f7dfe2;
    padding: 26px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.rd-impact-card h3 {
    color: #c3122a;
    font-size: 17px;
    font-weight: 700;
}

.rd-impact-card h2 {
    color: var(--rd-red);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.rd-impact-card p {
    font-size: 11.5px;
    color: #334d69;
    margin: 6px 0 14px;
}

.rd-impact-card .rd-primary-btn {
    padding: 10px 18px;
    font-size: 11px;
}

.rd-impact-drop {
    position: absolute;
    right: 26px;
    bottom: 6px;
    color: var(--rd-red);
    font-size: 118px;
    opacity: 0.9;
    line-height: 1;
    pointer-events: none;
}

.rd-impact-card > div:first-child {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.rd-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.rd-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.rd-service-card {
    min-height: 96px;
    border: 1px solid #f0dfe2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px;
    background: #fff;
    position: relative;
    transition: border-color 0.2s var(--rd-ease), transform 0.2s var(--rd-ease), box-shadow 0.2s var(--rd-ease);
}

.rd-service-card > div {
    min-width: 0;
    padding-right: 10px;
}

.rd-service-card:hover {
    border-color: var(--rd-red);
    transform: translateY(-3px);
    box-shadow: var(--rd-shadow);
}

.rd-service-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--rd-red);
    transition: transform 0.25s var(--rd-ease);
}

.rd-service-card:hover .rd-service-icon {
    transform: scale(1.06);
}

.rd-service-card h3 {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--rd-navy);
}

.rd-service-card p {
    font-size: 9.5px;
    color: #71849a;
    margin-top: 3px;
    line-height: 1.45;
}

.rd-service-arrow {
    position: absolute;
    right: 10px;
    top: 10px;
    color: var(--rd-red);
    font-size: 10px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s var(--rd-ease), transform 0.2s var(--rd-ease);
}

.rd-service-card:hover .rd-service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* WHY CARD */

.rd-why-card {
    border: 1px solid #f0dfe2;
    border-radius: 14px;
    padding: 18px;
    background: #fff;
    box-shadow: var(--rd-shadow-sm);
}

.rd-why-card h2 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--rd-navy);
}

.rd-why-card li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 10.5px;
    color: #4d6783;
    margin-bottom: 9px;
    line-height: 1.45;
}

.rd-why-card li i {
    color: var(--rd-red);
    margin-top: 1px;
    font-size: 10px;
}

.rd-donate-banner {
    display: flex;
    align-items: center;
    gap: 11px;
    background: linear-gradient(120deg, var(--rd-red), var(--rd-red-dark));
    color: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    margin-top: 14px;
    transition: transform 0.2s var(--rd-ease), box-shadow 0.2s var(--rd-ease);
}

.rd-donate-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(237, 27, 47, 0.3);
}

.rd-donate-banner > span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.rd-donate-banner strong {
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.25;
}

.rd-donate-banner small {
    display: block;
    font-weight: 400;
    font-size: 10px;
    opacity: 0.9;
}

.rd-donate-banner > i {
    margin-left: auto;
    font-size: 11px;
}

/* ==========================================================================
   BLOOD AVAILABILITY
   ========================================================================== */

.rd-blood-section {
    padding: 30px 0;
    background: linear-gradient(100deg, #fff7f8 0%, #ffffff 70%);
    border-top: 1px solid #f7eaec;
    border-bottom: 1px solid #f7eaec;
}

.rd-blood-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 35px;
    align-items: center;
}

.rd-blood-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.rd-blood-groups a {
    display: inline-flex;
    align-items: center;
    border: 1px solid #f0d7db;
    background: #fff;
    color: #1c3855;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s var(--rd-ease), color 0.18s var(--rd-ease), transform 0.18s var(--rd-ease);
}

.rd-blood-groups a i {
    color: var(--rd-red);
    margin-right: 6px;
    font-size: 10px;
}

.rd-blood-groups a:hover {
    border-color: var(--rd-red);
    color: var(--rd-red);
    transform: translateY(-2px);
}

.rd-blood-groups small {
    color: #8497ab;
    font-weight: 500;
    margin-left: 6px;
    font-size: 9.5px;
}

.rd-blood-groups a:hover small {
    color: #c3122a;
}

.rd-urgent-card {
    background: #fff0f2;
    border: 1px solid #f8dee2;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.rd-urgent-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffe0e5;
    color: var(--rd-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.rd-urgent-card h3 {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--rd-navy);
}

.rd-urgent-card p {
    font-size: 10px;
    color: #71849a;
    margin: 3px 0 9px;
    line-height: 1.5;
}

.rd-urgent-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--rd-red);
    color: #fff;
    border-radius: 6px;
    padding: 7px 13px;
    font-size: 10px;
    font-weight: 700;
    transition: background 0.18s var(--rd-ease);
}

.rd-urgent-card a:hover {
    background: var(--rd-red-dark);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.rd-footer {
    background: var(--rd-navy);
    color: #d7e3f0;
    padding: 46px 0 0;
}

.rd-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 40px;
}

.rd-footer-logo img {
    width: 168px;
}

.rd-footer-grid > div:first-child > p {
    font-size: 11.5px;
    color: #b6c6d7;
    max-width: 340px;
    margin-top: 14px;
    line-height: 1.7;
}

.rd-footer h4 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rd-footer-grid a {
    display: block;
    font-size: 11px;
    color: #b8c8d8;
    margin-bottom: 9px;
    transition: color 0.18s var(--rd-ease), transform 0.18s var(--rd-ease);
}

.rd-footer-grid a:hover {
    color: #fff;
}

.rd-footer-grid p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    color: #b8c8d8;
    margin-bottom: 10px;
    line-height: 1.6;
}

.rd-footer-grid p i {
    color: #ff6875;
    margin-top: 4px;
    width: 14px;
    flex-shrink: 0;
}

.rd-footer-grid p .rd-footer-contact-link {
    display: inline;
    font-size: inherit;
    color: #b8c8d8;
    margin-bottom: 0;
    word-break: break-word;
}

.rd-footer-grid p .rd-footer-contact-link:hover {
    color: #fff;
}

.rd-social {
    display: flex;
    gap: 9px;
    margin-top: 16px;
}

.rd-social a {
    width: 32px;
    height: 32px;
    margin: 0;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    transition: background 0.18s var(--rd-ease), transform 0.18s var(--rd-ease);
}

.rd-social a:hover {
    background: var(--rd-red);
    transform: translateY(-2px);
}

.rd-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 34px;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 10.5px;
    color: #aebfd1;
}

.rd-footer-bottom div {
    display: flex;
    gap: 20px;
}

.rd-footer-bottom a {
    display: inline;
    margin: 0;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.rd-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s var(--rd-ease), transform 0.5s var(--rd-ease);
}

.rd-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   PUBLIC ORGANISATION DIRECTORIES
   Shared by the NGO, hospital, blood bank and blood camp listings.
   ========================================================================== */

/* Wrapping row for the small pill badges on directory cards. */
.rd-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rd-chip-row .rd-small-badge {
    padding-right: 13px;
}

/* Camp registration progress. */
.rd-progress {
    height: 7px;
    margin-top: 8px;
    border-radius: 20px;
    background: #f4e4e7;
    overflow: hidden;
}

.rd-progress-fill {
    display: block;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--rd-red), #ff6b7a);
    transition: width 0.4s var(--rd-ease);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1280px) {
    .rd-nav {
        gap: 15px;
    }

    .rd-nav a,
    .rd-nav button {
        font-size: 11.5px;
    }

    .rd-navbar {
        gap: 16px;
    }

    .rd-logo img {
        width: 158px;
    }

    .rd-user-chip-meta {
        display: none;
    }

    .rd-user-chip {
        padding: 3px;
    }
}

@media (max-width: 1080px) {
    .rd-nav {
        display: none;
    }

    .rd-mobile-menu {
        display: inline-flex;
    }

    .rd-nav-actions {
        margin-left: auto;
    }

    .rd-hero-grid {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 28px;
    }

    .rd-how-grid {
        grid-template-columns: minmax(0, 1fr) 360px;
    }

    .rd-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .rd-hero {
        background:
            linear-gradient(180deg, rgba(255, 247, 248, 0.96) 0%, rgba(255, 247, 248, 0.9) 100%),
            url("../images/raktdaan-hero.jpg") center / cover no-repeat;
    }

    .rd-hero-grid {
        grid-template-columns: 1fr;
        padding: 34px 0 40px;
    }

    .rd-search-card {
        max-width: 520px;
    }

    .rd-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-stat {
        gap: 11px;
        padding: 16px;
        border-bottom: 1px solid #eddcdf;
    }

    .rd-stat-icon {
        width: 44px;
        height: 44px;
    }

    .rd-stat-svg {
        width: 20px;
        height: 20px;
    }

    .rd-stat:nth-child(2n) {
        border-right: 0;
    }

    .rd-stat:last-child {
        border-bottom: 0;
    }

    .rd-how-grid,
    .rd-main-layout,
    .rd-blood-layout {
        grid-template-columns: 1fr;
    }

    .rd-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1080px) {
    .rd-nav.mobile-open {
        display: flex;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 4%;
        box-shadow: var(--rd-shadow);
        gap: 0;
        max-height: calc(100vh - 66px);
        overflow-y: auto;
        border-bottom: 1px solid var(--rd-border);
    }

    .rd-nav.mobile-open a,
    .rd-nav.mobile-open > .rd-nav-item > button {
        width: 100%;
        padding: 11px 0;
        font-size: 13.5px;
        border-bottom: 1px solid #f4eff0;
    }

    .rd-nav.mobile-open a.active::after {
        display: none;
    }

    .rd-nav.mobile-open .rd-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        border-left: 2px solid var(--rd-red-light);
        border-radius: 0;
        margin: 4px 0 8px 10px;
        padding: 0 0 0 8px;
        min-width: 0;
        display: none;
    }

    .rd-nav-item.is-open .rd-dropdown {
        display: block;
    }

    .rd-nav-backdrop {
        display: block;
        position: fixed;
        inset: 66px 0 0;
        background: rgba(16, 43, 73, 0.35);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s var(--rd-ease), visibility 0.2s;
        z-index: 900;
    }

    body.rd-menu-open .rd-nav-backdrop {
        opacity: 1;
        visibility: visible;
    }

    body.rd-menu-open {
        overflow: hidden;
    }
}

@media (max-width: 640px) {
    .rd-logo img {
        width: 142px;
    }

    .rd-user-chip {
        display: none;
    }

    .rd-login-btn {
        padding: 8px 13px;
    }

    .rd-register-btn {
        padding: 9px 14px;
    }

    .rd-hero h1 {
        font-size: 31px;
    }

    .rd-hero p {
        font-size: 13px;
    }

    .rd-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-stat {
        gap: 10px;
        padding: 14px 12px;
    }

    .rd-stat-icon {
        width: 44px;
        height: 44px;
    }

    .rd-stat-svg {
        width: 20px;
        height: 20px;
    }

    .rd-stat-text strong {
        font-size: 17px;
    }

    .rd-stat-text > span {
        font-size: 10px;
    }

    .rd-stat:last-child {
        grid-column: 1 / -1;
        justify-content: center;
        border-right: 0;
    }

    .rd-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px 14px;
    }

    .rd-step {
        width: auto;
    }

    .rd-step-arrow {
        display: none;
    }

    .rd-services-grid {
        grid-template-columns: 1fr;
    }

    .rd-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .rd-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rd-impact-drop {
        font-size: 90px;
        right: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }

    .rd-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   COMPONENT LIBRARY
   Everything below powers the inner pages (marketing, member area and auth)
   so the whole site shares one visual language with the landing page.
   ========================================================================== */

/* --------------------------------------------------------------------------
   LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */

.rd-page {
    font-size: 13px;
    padding-bottom: 40px;
}

.rd-page-band {
    padding: 26px 0;
}

.rd-page-band-alt {
    background: #fff7f8;
    border-top: 1px solid #f7eaec;
    border-bottom: 1px solid #f7eaec;
}

.rd-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rd-row-top {
    align-items: flex-start;
}

.rd-row-between {
    justify-content: space-between;
}

.rd-row-end {
    justify-content: flex-end;
}

.rd-row-nowrap {
    flex-wrap: nowrap;
}

.rd-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rd-stack-sm {
    gap: 8px;
}

.rd-stack-lg {
    gap: 20px;
}

.rd-spacer {
    flex: 1 1 auto;
}

.rd-grid {
    display: grid;
    gap: 16px;
}

.rd-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rd-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rd-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rd-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rd-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px 18px;
}

.rd-grid-sidebar {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.rd-grid-sidebar-left {
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
}

.rd-grid-contact {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    align-items: start;
}

.rd-grid-narrow-side {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
}

.rd-divider {
    height: 1px;
    background: var(--rd-border);
    border: 0;
    margin: 18px 0;
}

.rd-divider-sm {
    margin: 12px 0;
}

/* Typography ---------------------------------------------------------------- */

.rd-h1 {
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rd-navy);
}

.rd-h2 {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--rd-navy);
}

.rd-h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--rd-navy);
}

.rd-h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--rd-navy);
}

.rd-lead {
    font-size: 14px;
    line-height: 1.7;
    color: #3c5675;
}

.rd-muted {
    color: var(--rd-muted);
}

.rd-small {
    font-size: 11.5px;
}

.rd-tiny {
    font-size: 10.5px;
}

.rd-strong {
    font-weight: 700;
    color: var(--rd-navy);
}

.rd-text-center {
    text-align: center;
}

.rd-text-right {
    text-align: right;
}

.rd-text-capitalize {
    text-transform: capitalize;
}

.rd-nowrap {
    white-space: nowrap;
}

.rd-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Spacing ------------------------------------------------------------------- */

.rd-mt-0 { margin-top: 0; }
.rd-mt-1 { margin-top: 6px; }
.rd-mt-2 { margin-top: 12px; }
.rd-mt-3 { margin-top: 18px; }
.rd-mt-4 { margin-top: 24px; }
.rd-mt-5 { margin-top: 32px; }

.rd-mb-0 { margin-bottom: 0; }
.rd-mb-1 { margin-bottom: 6px; }
.rd-mb-2 { margin-bottom: 12px; }
.rd-mb-3 { margin-bottom: 18px; }
.rd-mb-4 { margin-bottom: 24px; }
.rd-mb-5 { margin-bottom: 32px; }

.rd-mx-auto {
    margin-inline: auto;
}

.rd-ml-auto {
    margin-left: auto;
}

.rd-w-full {
    width: 100%;
}

/* Toggled by JS (alerts, conditional form sections) */
.rd-hidden {
    display: none !important;
}

/* --------------------------------------------------------------------------
   PAGE HERO
   -------------------------------------------------------------------------- */

.rd-page-hero {
    background: linear-gradient(120deg, #fff7f8 0%, #ffffff 62%);
    border-bottom: 1px solid #f4e4e7;
    padding: 30px 0;
}

.rd-page-hero-navy {
    background: linear-gradient(120deg, var(--rd-navy) 0%, #1b4368 100%);
    border-bottom: 0;
}

.rd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid #f1e5e7;
    border-radius: 30px;
    padding: 5px 13px 5px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--rd-navy);
    box-shadow: var(--rd-shadow-sm);
}

.rd-eyebrow span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--rd-red-light);
    color: var(--rd-red);
    font-size: 10px;
}

.rd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 11px;
    color: var(--rd-muted);
    margin-bottom: 10px;
}

.rd-breadcrumb a {
    color: var(--rd-muted);
    transition: color 0.18s var(--rd-ease);
}

.rd-breadcrumb a:hover {
    color: var(--rd-red);
}

.rd-breadcrumb i {
    font-size: 8px;
    color: #b6c2cf;
}

.rd-breadcrumb [aria-current="page"] {
    color: var(--rd-navy);
    font-weight: 600;
}

.rd-page-hero h1 {
    font-size: clamp(24px, 2.7vw, 34px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rd-navy);
}

.rd-page-hero-navy h1 {
    color: #fff;
}

.rd-page-hero p {
    font-size: 13.5px;
    line-height: 1.7;
    color: #4d6783;
    max-width: 640px;
    margin-top: 9px;
}

.rd-page-hero-navy p {
    color: #c3d4e4;
}

.rd-page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

/* --------------------------------------------------------------------------
   CARD
   -------------------------------------------------------------------------- */

.rd-card {
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: 12px;
    box-shadow: var(--rd-shadow-sm);
    overflow: hidden;
}

.rd-card-flat {
    box-shadow: none;
}

.rd-card-pad {
    padding: 18px;
}

.rd-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--rd-border);
    background: #fff;
}

.rd-card-head h2,
.rd-card-head h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--rd-navy);
}

.rd-card-head p {
    font-size: 11px;
    color: var(--rd-muted);
    margin-top: 2px;
}

.rd-card-body {
    padding: 18px;
}

.rd-card-body-sm {
    padding: 14px;
}

.rd-card-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-top: 1px solid var(--rd-border);
    background: #fffafa;
}

.rd-card-hover {
    transition: border-color 0.2s var(--rd-ease), transform 0.2s var(--rd-ease), box-shadow 0.2s var(--rd-ease);
}

.rd-card-hover:hover {
    border-color: var(--rd-red);
    transform: translateY(-3px);
    box-shadow: var(--rd-shadow);
}

/* Media (cover images) ---------------------------------------------------- */

.rd-media {
    position: relative;
    overflow: hidden;
    background: #f1f4f8;
}

.rd-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s var(--rd-ease);
}

.rd-media-16x9 {
    aspect-ratio: 16 / 9;
}

.rd-media-4x3 {
    aspect-ratio: 4 / 3;
}

.rd-media-3x2 {
    aspect-ratio: 3 / 2;
}

.rd-card-hover:hover .rd-media img,
a:hover > .rd-media img,
a:hover .rd-media img {
    transform: scale(1.04);
}

/* Icon tile used inside cards ------------------------------------------------ */

.rd-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rd-red-light);
    color: var(--rd-red);
    font-size: 16px;
}

.rd-icon-badge-navy {
    background: #eef3f9;
    color: var(--rd-navy);
}

.rd-icon-solid {
    background: var(--rd-red);
    color: #fff;
    box-shadow: 0 8px 18px rgba(237, 27, 47, 0.24);
}

.rd-icon-badge-sm {
    width: 34px;
    height: 34px;
    font-size: 13px;
}

.rd-icon-badge-lg {
    width: 54px;
    height: 54px;
    font-size: 20px;
}

.rd-icon-badge svg {
    width: 20px;
    height: 20px;
}

.rd-icon-badge-sm svg {
    width: 16px;
    height: 16px;
}

.rd-icon-badge-lg svg {
    width: 26px;
    height: 26px;
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */

.rd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--rd-radius-sm);
    padding: 9px 18px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: background 0.18s var(--rd-ease), color 0.18s var(--rd-ease),
        border-color 0.18s var(--rd-ease), box-shadow 0.18s var(--rd-ease), transform 0.18s var(--rd-ease);
}

.rd-btn:active {
    transform: translateY(1px);
}

.rd-btn:disabled,
.rd-btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.rd-btn-primary {
    background: var(--rd-red);
    border-color: var(--rd-red);
    color: #fff;
}

.rd-btn-primary:hover {
    background: var(--rd-red-dark);
    border-color: var(--rd-red-dark);
    box-shadow: 0 8px 20px rgba(237, 27, 47, 0.22);
}

.rd-btn-outline {
    background: #fff;
    border-color: var(--rd-red);
    color: var(--rd-red);
}

.rd-btn-outline:hover {
    background: var(--rd-red);
    color: #fff;
}

.rd-btn-navy {
    background: var(--rd-navy);
    border-color: var(--rd-navy);
    color: #fff;
}

.rd-btn-navy:hover {
    background: #0b2038;
    border-color: #0b2038;
    box-shadow: 0 8px 20px rgba(16, 43, 73, 0.22);
}

.rd-btn-ghost {
    background: #fff;
    border-color: #dde4ec;
    color: #3e536c;
}

.rd-btn-ghost:hover {
    border-color: var(--rd-navy);
    color: var(--rd-navy);
}

.rd-btn-soft {
    background: var(--rd-red-light);
    border-color: transparent;
    color: var(--rd-red);
}

.rd-btn-soft:hover {
    background: #ffe3e7;
}

.rd-btn-danger {
    background: #fff;
    border-color: #f4c2c7;
    color: #c3122a;
}

.rd-btn-danger:hover {
    background: #c3122a;
    border-color: #c3122a;
    color: #fff;
}

.rd-btn-sm {
    padding: 6px 12px;
    font-size: 11px;
}

.rd-btn-lg {
    padding: 12px 26px;
    font-size: 13px;
}

.rd-btn-block {
    display: flex;
    width: 100%;
}

.rd-btn-icon {
    padding: 8px;
    width: 34px;
    height: 34px;
}

/* Text link that behaves like a button -------------------------------------- */

.rd-link {
    color: var(--rd-red);
    font-weight: 600;
    transition: color 0.18s var(--rd-ease);
}

.rd-link:hover {
    color: var(--rd-red-dark);
    text-decoration: underline;
}

.rd-link-quiet {
    color: #3e536c;
    font-weight: 600;
}

.rd-link-quiet:hover {
    color: var(--rd-red);
}

/* --------------------------------------------------------------------------
   FORMS
   -------------------------------------------------------------------------- */

.rd-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rd-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.rd-form-grid .rd-form-full {
    grid-column: 1 / -1;
}

.rd-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #2a4462;
    margin-bottom: 5px;
}

.rd-label .rd-req {
    color: var(--rd-red);
    margin-left: 2px;
}

.rd-input,
.rd-select,
.rd-textarea {
    width: 100%;
    border: 1px solid #dde4ec;
    border-radius: 7px;
    padding: 0 12px;
    height: 38px;
    outline: none;
    color: #3e536c;
    font-size: 12.5px;
    background-color: #fff;
    transition: border-color 0.18s var(--rd-ease), box-shadow 0.18s var(--rd-ease);
}

.rd-textarea {
    height: auto;
    min-height: 96px;
    padding: 10px 12px;
    line-height: 1.6;
    resize: vertical;
}

.rd-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23637791' d='M1.4 1.4 6 6l4.6-4.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    padding-right: 30px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.rd-input::placeholder,
.rd-textarea::placeholder {
    color: #9aa8b8;
}

.rd-input:focus,
.rd-select:focus,
.rd-textarea:focus {
    border-color: var(--rd-red);
    box-shadow: 0 0 0 3px rgba(237, 27, 47, 0.12);
}

.rd-input:disabled,
.rd-select:disabled,
.rd-textarea:disabled {
    background: #f6f8fa;
    color: var(--rd-muted);
    cursor: not-allowed;
}

.rd-input[readonly] {
    background: #f6f8fa;
}

.rd-help {
    display: block;
    font-size: 10.5px;
    color: var(--rd-muted);
    margin-top: 5px;
    line-height: 1.5;
}

.rd-field-error {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    color: #c3122a;
    margin-top: 5px;
}

.rd-has-error .rd-input,
.rd-has-error .rd-select,
.rd-has-error .rd-textarea {
    border-color: #e8899a;
}

.rd-has-error .rd-input:focus,
.rd-has-error .rd-select:focus,
.rd-has-error .rd-textarea:focus {
    box-shadow: 0 0 0 3px rgba(195, 18, 42, 0.12);
}

/* Checkbox / radio ---------------------------------------------------------- */

.rd-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    font-size: 12px;
    color: #3e536c;
    line-height: 1.5;
}

.rd-check input[type="checkbox"],
.rd-check input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    flex-shrink: 0;
    accent-color: var(--rd-red);
    cursor: pointer;
}

.rd-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

/* Input with an inline action (password reveal, search, etc.) --------------- */

.rd-input-affix {
    position: relative;
}

.rd-input-affix .rd-input,
.rd-input-affix .rd-select {
    padding-right: 42px;
}

.rd-input-affix-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    color: var(--rd-muted);
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 13px;
    transition: color 0.18s var(--rd-ease), background 0.18s var(--rd-ease);
}

.rd-input-affix-btn:hover {
    color: var(--rd-red);
    background: var(--rd-red-light);
}

.rd-input-icon {
    position: relative;
    flex: 1 1 220px;
}

.rd-input-icon > i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa8b8;
    font-size: 13px;
    pointer-events: none;
}

.rd-input-icon .rd-input {
    padding-left: 34px;
}

/* Inline filter bar --------------------------------------------------------- */

.rd-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: var(--rd-shadow-sm);
}

.rd-filters .rd-field {
    margin-bottom: 0;
    min-width: 150px;
}

.rd-filters .rd-field-grow {
    flex: 1 1 200px;
}

/* --------------------------------------------------------------------------
   ALERTS
   -------------------------------------------------------------------------- */

.rd-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border-radius: 10px;
    padding: 13px 15px;
    font-size: 12px;
    line-height: 1.6;
    border: 1px solid;
}

.rd-alert > i {
    font-size: 14px;
    margin-top: 1px;
    flex-shrink: 0;
}

.rd-alert-body {
    min-width: 0;
    flex: 1;
}

.rd-alert-title {
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
}

.rd-alert ul {
    list-style: disc;
    padding-left: 18px;
    margin-top: 4px;
}

.rd-alert-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.rd-alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.rd-alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.rd-alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

/* --------------------------------------------------------------------------
   BADGES & PILLS
   -------------------------------------------------------------------------- */

.rd-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 30px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    background: #eef3f9;
    color: #2a4462;
    border: 1px solid transparent;
}

.rd-badge-red {
    background: var(--rd-red-light);
    color: var(--rd-red);
}

.rd-badge-green {
    background: #e8f8f0;
    color: #0f7a4d;
}

.rd-badge-amber {
    background: #fff5e0;
    color: #a35c00;
}

.rd-badge-blue {
    background: #e8f2fe;
    color: #1a5fb4;
}

.rd-badge-grey {
    background: #f1f4f8;
    color: #5d7691;
}

.rd-badge-navy {
    background: var(--rd-navy);
    color: #fff;
}

.rd-badge-outline {
    background: #fff;
    border-color: var(--rd-border);
    color: var(--rd-muted);
}

.rd-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.rd-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #f0d7db;
    background: #fff;
    color: #1c3855;
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s var(--rd-ease), color 0.18s var(--rd-ease), transform 0.18s var(--rd-ease);
}

.rd-chip:hover,
.rd-chip.is-active {
    border-color: var(--rd-red);
    color: var(--rd-red);
    transform: translateY(-2px);
}

.rd-chip.is-active {
    background: var(--rd-red-light);
}

/* --------------------------------------------------------------------------
   STAT TILES
   -------------------------------------------------------------------------- */

.rd-tile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.rd-tile-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rd-tile {
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--rd-shadow-sm);
    display: flex;
    align-items: center;
    gap: 13px;
    transition: border-color 0.2s var(--rd-ease), transform 0.2s var(--rd-ease), box-shadow 0.2s var(--rd-ease);
}

.rd-tile-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rd-navy);
    line-height: 1.15;
}

.rd-tile-label {
    display: block;
    font-size: 11px;
    color: var(--rd-muted);
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   TABLES
   -------------------------------------------------------------------------- */

.rd-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    min-width: 560px;
}

.rd-table thead th {
    text-align: left;
    padding: 11px 14px;
    background: #fbf7f8;
    border-bottom: 1px solid var(--rd-border);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5d7691;
    white-space: nowrap;
}

.rd-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #f3eaec;
    color: #3e536c;
    vertical-align: middle;
}

.rd-table tbody tr:last-child td {
    border-bottom: 0;
}

.rd-table tbody tr {
    transition: background 0.15s var(--rd-ease);
}

.rd-table tbody tr:hover {
    background: #fffafb;
}

.rd-table-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: flex-end;
}

.rd-table-narrow {
    min-width: 0;
}

/* Key/value definition rows ------------------------------------------------- */

.rd-kv {
    display: grid;
    gap: 0;
}

.rd-kv-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--rd-border);
    font-size: 12px;
}

.rd-kv-row:last-child {
    border-bottom: 0;
}

.rd-kv-row dt {
    color: var(--rd-muted);
    flex-shrink: 0;
}

.rd-kv-row dd {
    color: var(--rd-navy);
    font-weight: 600;
    text-align: right;
    min-width: 0;
}

/* --------------------------------------------------------------------------
   LISTS
   -------------------------------------------------------------------------- */

.rd-list-check li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12px;
    color: #4d6783;
    line-height: 1.55;
    margin-bottom: 10px;
}

.rd-list-check li:last-child {
    margin-bottom: 0;
}

.rd-list-check i {
    color: var(--rd-red);
    margin-top: 2px;
    font-size: 11px;
    flex-shrink: 0;
}

.rd-list-plain li {
    font-size: 12px;
    color: #4d6783;
    line-height: 1.7;
    padding-left: 13px;
    position: relative;
    margin-bottom: 6px;
}

.rd-list-plain li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rd-red);
}

/* Row list (dashboards, search results) -------------------------------------- */

.rd-rows {
    display: flex;
    flex-direction: column;
}

.rd-row-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 18px;
    border-bottom: 1px solid #f3eaec;
    transition: background 0.15s var(--rd-ease);
}

.rd-row-item:last-child {
    border-bottom: 0;
}

.rd-row-item:hover {
    background: #fffafb;
}

.rd-row-item-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--rd-navy);
}

.rd-row-item-sub {
    font-size: 11px;
    color: var(--rd-muted);
    margin-top: 2px;
}

/* Avatar -------------------------------------------------------------------- */

.rd-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rd-red-light);
    color: var(--rd-red);
    font-weight: 800;
    font-size: 13px;
    overflow: hidden;
}

.rd-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rd-avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 11px;
}

.rd-avatar-lg {
    width: 56px;
    height: 56px;
    font-size: 18px;
}

/* --------------------------------------------------------------------------
   EMPTY STATE
   -------------------------------------------------------------------------- */

.rd-empty {
    text-align: center;
    padding: 44px 24px;
}

.rd-empty-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--rd-red-light);
    color: var(--rd-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.rd-empty h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--rd-navy);
}

.rd-empty p {
    font-size: 12px;
    color: var(--rd-muted);
    margin: 6px auto 0;
    max-width: 380px;
    line-height: 1.6;
}

.rd-empty .rd-btn {
    margin-top: 16px;
}

/* --------------------------------------------------------------------------
   PAGINATION
   -------------------------------------------------------------------------- */

.rd-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 16px 0 0;
}

.rd-pagination a,
.rd-pagination span {
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--rd-border);
    background: #fff;
    font-size: 11.5px;
    font-weight: 600;
    color: #3e536c;
    transition: border-color 0.18s var(--rd-ease), color 0.18s var(--rd-ease), background 0.18s var(--rd-ease);
}

.rd-pagination a:hover {
    border-color: var(--rd-red);
    color: var(--rd-red);
}

.rd-pagination .is-active {
    background: var(--rd-red);
    border-color: var(--rd-red);
    color: #fff;
}

.rd-pagination .is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   ACCORDION
   -------------------------------------------------------------------------- */

.rd-accordion {
    border: 1px solid var(--rd-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.rd-accordion details + details {
    border-top: 1px solid var(--rd-border);
}

.rd-accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--rd-navy);
    transition: background 0.18s var(--rd-ease), color 0.18s var(--rd-ease);
}

.rd-accordion summary::-webkit-details-marker {
    display: none;
}

.rd-accordion summary:hover {
    background: var(--rd-red-light);
    color: var(--rd-red);
}

.rd-accordion summary i.fa-chevron-down {
    margin-left: auto;
    font-size: 11px;
    transition: transform 0.22s var(--rd-ease);
}

.rd-accordion details[open] summary i.fa-chevron-down {
    transform: rotate(180deg);
}

.rd-accordion-body {
    padding: 0 18px 17px;
    font-size: 12.5px;
    line-height: 1.75;
    color: #4d6783;
}

/* --------------------------------------------------------------------------
   PROSE (policy pages, blog article)
   -------------------------------------------------------------------------- */

.rd-prose {
    font-size: 13px;
    line-height: 1.8;
    color: #3f5875;
    max-width: 78ch;
}

.rd-prose > * + * {
    margin-top: 14px;
}

.rd-prose h2 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--rd-navy);
    margin-top: 30px;
}

.rd-prose h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--rd-navy);
    margin-top: 24px;
}

.rd-prose h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--rd-navy);
    margin-top: 20px;
}

.rd-prose ul,
.rd-prose ol {
    padding-left: 20px;
}

.rd-prose ul {
    list-style: disc;
}

.rd-prose ol {
    list-style: decimal;
}

.rd-prose li {
    margin-bottom: 7px;
}

.rd-prose li::marker {
    color: var(--rd-red);
}

.rd-prose strong {
    color: var(--rd-navy);
    font-weight: 700;
}

.rd-prose a {
    color: var(--rd-red);
    font-weight: 600;
}

.rd-prose a:hover {
    text-decoration: underline;
}

.rd-prose blockquote {
    border-left: 3px solid var(--rd-red);
    background: var(--rd-red-light);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    color: #7a2233;
    font-style: italic;
}

.rd-prose img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 18px 0;
}

.rd-prose iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 10px;
    margin: 18px 0;
}

/* --------------------------------------------------------------------------
   TABS
   -------------------------------------------------------------------------- */

.rd-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--rd-border);
    overflow-x: auto;
}

.rd-tabs a,
.rd-tabs button {
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 600;
    color: var(--rd-muted);
    border: 0;
    background: none;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.18s var(--rd-ease), border-color 0.18s var(--rd-ease);
}

.rd-tabs a:hover,
.rd-tabs .is-active {
    color: var(--rd-red);
    border-bottom-color: var(--rd-red);
}

/* --------------------------------------------------------------------------
   AUTH - split screen (brand panel left, form right)
   -------------------------------------------------------------------------- */

.rd-auth-body {
    background: #fff;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.rd-auth-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    flex: 1;
}

.rd-auth-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: 44px 52px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(160deg, rgba(9, 45, 75, .96) 0%, rgba(7, 30, 53, .99) 62%, rgba(5, 22, 40, 1) 100%),
        url('../images/raktdaan-hero.jpg') center / cover no-repeat;
    color: #fff;
}

.rd-auth-brand::after {
    content: '';
    position: absolute;
    inset: auto -18% -42% auto;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 27, 47, .30) 0%, rgba(237, 27, 47, 0) 68%);
    z-index: -1;
    pointer-events: none;
}

.rd-auth-logo {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    text-decoration: none;
}

.rd-auth-logo img {
    display: block;
    width: 172px;
    height: auto;
}

.rd-auth-logo:hover img {
    opacity: .88;
}

.rd-auth-brand-body {
    max-width: 460px;
}

.rd-auth-eyebrow {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(237, 27, 47, .16);
    border: 1px solid rgba(237, 27, 47, .40);
    color: #ff8fa0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.rd-auth-brand-title {
    margin-top: 18px;
    font-size: clamp(26px, 2.7vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.rd-auth-brand-text {
    margin-top: 14px;
    font-size: 13.5px;
    line-height: 1.75;
    color: #b9c9da;
    max-width: 42ch;
}

.rd-auth-points {
    list-style: none;
    margin-top: 26px;
    display: grid;
    gap: 12px;
}

.rd-auth-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    line-height: 1.55;
    color: #d7e2ee;
}

.rd-auth-points i {
    margin-top: 2px;
    color: #35c98a;
    font-size: 13px;
    flex-shrink: 0;
}

.rd-auth-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.rd-auth-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
}

.rd-auth-stat span {
    display: block;
    margin-top: 3px;
    font-size: 10.5px;
    line-height: 1.4;
    color: #93a8bd;
}

.rd-auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 48px 40px;
    background: #fff;
}

.rd-auth-legal {
    font-size: 11px;
    color: var(--rd-muted);
    text-align: center;
    max-width: 420px;
}

.rd-auth-legal a {
    color: var(--rd-red);
    font-weight: 600;
}

/* the card now sits directly on the white panel */
.rd-auth-panel .rd-auth-card {
    box-shadow: 0 10px 30px rgba(8, 36, 63, .07);
}

.rd-auth-panel .rd-alert {
    width: 100%;
    max-width: 430px;
}

.rd-auth-panel .rd-auth-card-wide ~ .rd-alert,
.rd-auth-panel .rd-auth-card-wide + .rd-alert {
    max-width: 560px;
}

@media (max-width: 1080px) {
    .rd-auth-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .rd-auth-brand {
        padding: 36px 32px;
    }

    .rd-auth-panel {
        padding: 40px 26px;
    }
}

@media (max-width: 900px) {
    .rd-auth-split {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
    }

    .rd-auth-brand {
        gap: 22px;
        padding: 26px 22px 30px;
    }

    .rd-auth-brand-title {
        font-size: 24px;
    }

    .rd-auth-brand-text {
        font-size: 12.5px;
        margin-top: 10px;
    }

    .rd-auth-points {
        margin-top: 18px;
        gap: 9px;
    }

    .rd-auth-stats {
        padding-top: 18px;
        gap: 12px;
    }

.rd-auth-stat {
    min-width: 0;
}

.rd-auth-stat strong {
        font-size: 17px;
    }

    .rd-auth-panel {
        padding: 32px 20px 44px;
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .rd-auth-logo img {
        width: 148px;
    }

    .rd-auth-eyebrow {
        display: none;
    }

    .rd-auth-brand-title {
        margin-top: 0;
    }

    .rd-auth-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* --------------------------------------------------------------------------
   AUTH - legacy centered card
   -------------------------------------------------------------------------- */

.rd-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 48px;
}

.rd-auth-card {
    width: 100%;
    max-width: 430px;
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: 16px;
    box-shadow: var(--rd-shadow-lg);
    padding: 30px;
}

.rd-auth-card-wide {
    max-width: 560px;
}

.rd-auth-head {
    text-align: center;
    margin-bottom: 22px;
}

.rd-auth-head h1 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rd-navy);
}

.rd-auth-head p {
    font-size: 12.5px;
    color: var(--rd-muted);
    margin-top: 6px;
    line-height: 1.6;
}

.rd-auth-alt {
    text-align: center;
    font-size: 12px;
    color: var(--rd-muted);
    margin-top: 18px;
}

.rd-auth-alt a {
    color: var(--rd-red);
    font-weight: 700;
}

.rd-auth-alt a:hover {
    text-decoration: underline;
}

.rd-auth-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.rd-divider-text {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rd-muted);
}

.rd-divider-text::before,
.rd-divider-text::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rd-border);
}

.rd-social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rd-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    border-radius: 7px;
    border: 1px solid #dde4ec;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #3e536c;
    cursor: pointer;
    transition: border-color 0.18s var(--rd-ease), background 0.18s var(--rd-ease), transform 0.18s var(--rd-ease);
}

.rd-social-btn:hover {
    border-color: var(--rd-navy);
    background: #fbfcfd;
    transform: translateY(-1px);
}

.rd-social-btn-facebook {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.rd-social-btn-facebook:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.rd-social-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CTA BAND
   -------------------------------------------------------------------------- */

.rd-cta {
    background: linear-gradient(120deg, var(--rd-red) 0%, var(--rd-red-dark) 100%);
    border-radius: 16px;
    padding: 34px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.rd-cta h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.rd-cta p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 7px;
    max-width: 520px;
    line-height: 1.6;
}

.rd-cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rd-cta .rd-btn-primary {
    background: #fff;
    border-color: #fff;
    color: var(--rd-red);
}

.rd-cta .rd-btn-primary:hover {
    background: #fff6f7;
    border-color: #fff6f7;
    box-shadow: 0 8px 20px rgba(120, 10, 25, 0.25);
}

.rd-cta .rd-btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.rd-cta .rd-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
}

/* --------------------------------------------------------------------------
   COMING SOON
   -------------------------------------------------------------------------- */

.rd-soon {
    text-align: center;
    padding: 70px 0 80px;
}

.rd-soon-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--rd-red-light);
    color: var(--rd-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.rd-soon h1 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rd-navy);
}

.rd-soon p {
    font-size: 13.5px;
    color: var(--rd-muted);
    line-height: 1.7;
    margin: 12px auto 0;
    max-width: 520px;
}

/* --------------------------------------------------------------------------
   TOAST
   -------------------------------------------------------------------------- */

.rd-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1200;
    background: var(--rd-navy);
    color: #fff;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--rd-shadow-lg);
    animation: rd-toast-in 0.24s var(--rd-ease);
}

@keyframes rd-toast-in {
    from {
        opacity: 0;
        transform: translate(-50%, 12px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* --------------------------------------------------------------------------
   NUMBERED STEPS
   -------------------------------------------------------------------------- */

.rd-steps-num {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    position: relative;
}

.rd-steps-num::before {
    content: "";
    display: none;
    position: absolute;
    top: 47px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, #ffe4e6, #fda4af, #ffe4e6);
}

.rd-step-num {
    text-align: center;
}

.rd-step-num-outer {
    width: 96px;
    height: 96px;
    margin: 0 auto;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #ffe4e6;
    box-shadow: var(--rd-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.rd-step-num-inner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--rd-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
}

.rd-stars {
    display: flex;
    gap: 3px;
    color: #fbbf24;
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   COMPONENT LIBRARY — RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .rd-tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-tile-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-grid-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rd-grid-sidebar,
    .rd-grid-sidebar-left,
    .rd-grid-contact,
    .rd-grid-narrow-side {
        grid-template-columns: minmax(0, 1fr);
    }

    .rd-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1081px) {
    .rd-steps-num::before {
        display: block;
    }
}

@media (max-width: 860px) {
    .rd-steps-num {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

@media (max-width: 760px) {
    .rd-grid-2,
    .rd-grid-3,
    .rd-grid-5,
    .rd-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rd-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rd-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-auth-card {
        padding: 24px 20px;
    }

    .rd-page-band {
        padding: 20px 0;
    }

    .rd-cta {
        padding: 26px 22px;
    }

    .rd-soon {
        padding: 48px 0 56px;
    }
}

@media (max-width: 520px) {
    .rd-tile-grid,
    .rd-tile-grid-3,
    .rd-grid-4,
    .rd-social-grid,
    .rd-check-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rd-row-between,
    .rd-row-end {
        justify-content: flex-start;
    }

    .rd-filters .rd-field {
        min-width: 100%;
    }
}
