@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
    --rrh-bg: #05070d;
    --rrh-bg-soft: #0d111b;
    --rrh-card: #111827;
    --rrh-border: #25324a;
    --rrh-red: #ef4444;
    --rrh-red-strong: #b91c1c;
    --rrh-blue: #00bfff;
    --rrh-text: #e5e7eb;
    --rrh-muted: #9ca3af;
    --rrh-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

html,
body {
    min-height: 100%;
    background-color: #05070d;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(239, 68, 68, 0.14), transparent 45%),
        radial-gradient(circle at 90% 15%, rgba(0, 191, 255, 0.14), transparent 35%),
        linear-gradient(180deg, #05070d 0%, #0b1020 45%, #05070d 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: var(--rrh-text);
    font-family: "Rajdhani", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.rrh-page-shell,
.rrh-main-shell,
.rrh-content-shell {
    min-height: 100vh;
}

.rrh-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(12, 16, 30, 0.96), rgba(0, 0, 0, 0.95));
    border-bottom: 1px solid rgba(239, 68, 68, 0.45);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 0 10px 0 0;
}

.rrh-legacy-logo {
    width: clamp(205px, 16vw, 228px);
    height: clamp(72px, 5.6vw, 80px);
    margin-left: 8px;
    margin-right: -118px;
    background-image: url("/img/gt22.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center left;
    flex-shrink: 0;
}

.rrh-legacy-logo::after {
    content: "";
}

.rrh-topbar-left {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
}

.rrh-topbar-organizer-left {
    display: inline-flex;
    align-items: center;
    margin-left: 0.1rem;
    white-space: nowrap;
    flex: 0 0 auto;
}

.rrh-topbar-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.rrh-topbar-btn {
    min-height: 36px;
    padding: 0.38rem 0.68rem;
    border: 1px solid rgba(71, 85, 105, 0.58);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.65);
    color: #e5e7eb;
    font-family: "Rajdhani", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: all 0.16s ease;
}

.rrh-topbar-btn:hover {
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
    transform: translateY(-1px);
}

.rrh-topbar-btn-active {
    border-color: rgba(239, 68, 68, 0.82);
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.32);
    color: #fecaca;
}

.rrh-mobile-menu-toggle {
    display: none;
    margin-left: auto;
    min-width: 42px;
    min-height: 36px;
    border: 1px solid rgba(71, 85, 105, 0.6);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.72);
    color: #e5e7eb;
    font-size: 1.05rem;
    line-height: 1;
}

.rrh-mobile-menu-toast {
    position: fixed;
    top: 76px;
    right: 8px;
    z-index: 1100;
    width: min(320px, calc(100vw - 16px));
    display: grid;
    gap: 0.45rem;
    padding: 0.75rem;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(13, 17, 27, 0.98), rgba(7, 11, 22, 0.98));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
}

.rrh-mobile-menu-toast .rrh-topbar-btn {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
}

.rrh-brand-wrap {
    height: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 0.65rem;
}

.rrh-brand-title {
    font-family: "Orbitron", "Rajdhani", sans-serif;
    letter-spacing: 0.12em;
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1;
    background: linear-gradient(90deg, #f87171 0%, #ef4444 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rrh-brand-subtitle {
    color: rgba(248, 113, 113, 0.75);
    font-family: "Orbitron", "Rajdhani", sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.62rem;
}

.rrh-main-content {
    padding: 96px 18px 110px;
}

.rrh-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: rgba(229, 231, 235, 0.85);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(12, 16, 30, 0.96), rgba(0, 0, 0, 0.95));
    border-top: 1px solid rgba(239, 68, 68, 0.35);
}

.rrh-clock {
    right: 20px;
    bottom: -8px;
    z-index: 1002;
    color: #f87171;
    font-size: 1.5rem;
    text-decoration: none;
    font-style: normal;
    font-family: "Orbitron", "Rajdhani", sans-serif;
}

.rrh-clock-colon {
    display: inline-block;
    min-width: 0.45ch;
    text-align: center;
    animation: rrhClockColonBlink 1.35s infinite;
}

@keyframes rrhClockColonBlink {
    0% {
        opacity: 0.06;
        transform: translateY(0.02em) scale(0.96);
    }
    36% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    78% {
        opacity: 0.94;
        transform: translateY(0) scale(1);
    }
    83% {
        opacity: 0;
        transform: translateY(-0.01em) scale(0.98);
    }
    100% {
        opacity: 0;
        transform: translateY(-0.01em) scale(0.98);
    }
}

.rrh-login-shell {
    min-height: calc(100vh - 210px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.rrh-toast {
    position: fixed;
    top: 86px;
    right: 14px;
    max-width: min(520px, 92vw);
    padding: 0.7rem 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 50, 74, 0.85);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    z-index: 2200;
    font-size: 0.95rem;
    font-weight: 600;
    animation: rrhToastIn 0.2s ease-out;
}

.rrh-toast-error {
    background: rgba(127, 29, 29, 0.88);
    color: #fee2e2;
    border-color: rgba(248, 113, 113, 0.65);
}

.rrh-toast-warning {
    background: rgba(120, 53, 15, 0.88);
    color: #ffedd5;
    border-color: rgba(251, 191, 36, 0.7);
}

.rrh-toast-success {
    background: rgba(6, 78, 59, 0.9);
    color: #dcfce7;
    border-color: rgba(74, 222, 128, 0.75);
}

.rrh-cookie-popup-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2, 6, 14, 0.45);
    backdrop-filter: blur(7px);
}

.rrh-cookie-popup {
    width: min(560px, 100%);
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, 0.55);
    background: rgba(6, 14, 28, 0.96);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.rrh-cookie-popup-text {
    margin: 0 0 0.65rem;
    color: rgba(226, 232, 240, 0.96);
    line-height: 1.35;
    font-size: 0.92rem;
}

.rrh-cookie-popup-button {
    width: 100%;
    min-height: 40px;
}

body.rrh-scroll-lock {
    overflow: hidden !important;
}

#components-reconnect-modal {
    z-index: 3000 !important;
}

@keyframes rrhToastIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rrh-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1rem;
}

.rrh-btn-secondary {
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: var(--rrh-text);
    border-radius: 10px;
    min-height: 40px;
    padding: 0.5rem 0.95rem;
    font-weight: 600;
}

.rrh-btn-secondary:hover {
    color: #fff;
    border-color: rgba(56, 189, 248, 0.9);
    background: rgba(8, 20, 36, 0.95);
}

.btn,
.rrh-btn-primary,
.rrh-btn-secondary,
.btn-primary,
.btn-success {
    text-transform: capitalize !important;
}

.rrh-btn-organizer {
    background: linear-gradient(135deg, #facc15, #eab308) !important;
    border: 1px solid #fef08a !important;
    color: #111827 !important;
    border-radius: 10px;
    min-height: 40px;
    padding: 0.5rem 0.95rem;
    font-weight: 700;
}

.rrh-btn-organizer:hover {
    color: #111827 !important;
    background: linear-gradient(135deg, #fde047, #facc15) !important;
    border-color: #fef08a !important;
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.35);
}

.loginContainer {
    width: min(100%, 560px);
    margin: 0 auto;
}

.rrh-login-card {
    position: static;
    inset: unset;
    margin: 0 auto;
    width: 100%;
    max-width: 560px;
    min-height: 440px;
    height: auto;
    border-radius: 24px;
    padding: 2rem;
    background:
        linear-gradient(145deg, rgba(17, 24, 39, 0.94), rgba(7, 11, 22, 0.96));
    border: 1px solid rgba(239, 68, 68, 0.35);
    box-shadow: var(--rrh-shadow);
}

.rrh-login-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.rrh-login-title {
    margin: 0;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-weight: 800;
    letter-spacing: 0.16em;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    background: linear-gradient(90deg, #f87171 0%, #ef4444 48%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rrh-login-subtitle {
    margin: 0.2rem 0 0;
    color: rgba(248, 113, 113, 0.7);
    font-family: "Orbitron", "Rajdhani", sans-serif;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.rrh-select,
.rrh-input,
.profileInput,
.registrationInput,
.profileSelect,
.registrationSelect,
.orgaContactInput,
.orgaContactSelect,
.orgaContactInputBig,
.loginPasswordInput {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid var(--rrh-border);
    background: rgba(30, 41, 59, 0.82);
    color: var(--rrh-text);
    padding: 0.65rem 0.85rem;
    margin-top: 0.25rem;
}

.rrh-select:focus,
.rrh-input:focus,
.profileInput:focus,
.registrationInput:focus,
.profileSelect:focus,
.registrationSelect:focus,
.orgaContactInput:focus,
.orgaContactSelect:focus,
.orgaContactInputBig:focus,
.loginPasswordInput:focus {
    outline: none;
    border-color: var(--rrh-red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
    background: rgba(30, 41, 59, 0.96);
}

/* iOS Safari can clip tall glyphs in compact input boxes. */
@supports (-webkit-touch-callout: none) {
    .rrh-select,
    .rrh-input,
    .profileInput,
    .registrationInput,
    .profileSelect,
    .registrationSelect,
    .orgaContactInput,
    .orgaContactSelect,
    .orgaContactInputBig,
    .loginPasswordInput {
        min-height: 50px;
        line-height: 1.35;
        padding-top: 0.72rem;
        padding-bottom: 0.72rem;
        font-size: 16px;
    }

    .rrh-profile-shell .profileSelect {
        height: 52px !important;
        min-height: 52px !important;
        line-height: 1.35;
        padding-top: 0.72rem;
        padding-bottom: 0.72rem;
        padding-right: 2rem;
        font-size: 16px;
    }

    .rrh-step-form-shell .registrationSelect,
    .rrh-step-details-shell .registrationSelect,
    .rrh-registration-section .registrationSelect {
        height: 52px !important;
        min-height: 52px !important;
        line-height: 1.35;
        padding-top: 0.72rem;
        padding-bottom: 0.72rem;
        padding-right: 2rem;
        font-size: 16px;
    }

    .rrh-vehicle-manager-modal .registrationSelect {
        height: 56px !important;
        min-height: 56px !important;
        line-height: 1.35;
        padding-top: 0.78rem;
        padding-bottom: 0.78rem;
        padding-right: 2rem;
        font-size: 16px;
    }
}

.rrh-btn-primary,
.btn-primary,
.btn-success {
    background: linear-gradient(135deg, var(--rrh-red), var(--rrh-red-strong));
    border: 1px solid rgba(248, 113, 113, 0.7);
    color: #fff;
    border-radius: 12px;
    min-height: 44px;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}

.rrh-btn-primary:hover,
.btn-primary:hover,
.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.35);
    color: #fff;
}

.rrh-btn-success-action {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: 1px solid rgba(34, 197, 94, 0.8);
    color: #f0fdf4;
}

.rrh-btn-success-action:hover {
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}

.btn-link,
.btnNewAccountPassword {
    color: #fca5a5 !important;
}

.btn-link:hover,
.btnNewAccountPassword:hover {
    color: #fecaca !important;
}

.modal.rrh-modal-overlay {
    background: rgba(2, 6, 15, 0.8);
    backdrop-filter: blur(4px);
}

.rrh-modal-dialog {
    max-width: min(920px, 95vw);
}

.rrh-modal-content {
    background: linear-gradient(145deg, #0d111b, #070b16);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 16px;
    color: var(--rrh-text);
}

.rrh-modal-header,
.rrh-modal-footer {
    border-color: rgba(37, 50, 74, 0.8);
}

.rrh-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rrh-modal-content .close {
    width: 32px;
    height: 32px;
    margin: 0 3px 0 0;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: 8px;
    background: rgba(241, 245, 249, 0.12);
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 1;
    transition: all 0.18s ease;
}

.rrh-modal-content .close span {
    color: #f8fafc;
    font-weight: 700;
    line-height: 1;
}

.rrh-modal-content .close:hover {
    background: rgba(248, 250, 252, 0.22);
    border-color: rgba(248, 250, 252, 0.85);
    box-shadow: 0 0 0 2px rgba(248, 250, 252, 0.18);
}

.rrh-modal-header .rrh-export-close-btn {
    margin-top: 0;
    align-self: center !important;
}

.rrh-submit-confirm-intro {
    margin-bottom: 0.9rem;
}

.rrh-submit-confirm-list {
    display: grid;
    gap: 0.75rem;
}

.rrh-submit-confirm-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.6rem;
}

.profileCheckBox,
.profileCBX,
.orgaContactCheckBox {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid rgba(148, 163, 184, 0.9) !important;
    border-radius: 6px !important;
    background: rgba(30, 41, 59, 0.92) !important;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.profileCheckBox::before,
.profileCBX::before,
.orgaContactCheckBox::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: scale(0);
    transition: transform 0.12s ease-in-out;
    clip-path: polygon(14% 44%, 0 59%, 42% 100%, 100% 18%, 84% 5%, 40% 70%);
    background-color: #f8fafc !important;
}

.profileCheckBox:checked,
.profileCBX:checked,
.orgaContactCheckBox:checked {
    border-color: rgba(56, 189, 248, 0.95);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(30, 64, 175, 0.92));
}

.profileCheckBox:checked::before,
.profileCBX:checked::before,
.orgaContactCheckBox:checked::before {
    transform: scale(1);
}

.profileCheckBox:focus-visible,
.profileCBX:focus-visible,
.orgaContactCheckBox:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.28);
}

.rrh-submit-confirm-item .profileCheckBox {
    margin-top: 0.2rem;
}

.rrh-login-modal .profileComponent,
.rrh-login-modal .passwordChangeComponent {
    height: auto;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10px;
    padding: 10px;
}

.rrh-login-modal .passwordChangeComponent {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 12, 24, 0.95));
    border: 1px solid rgba(37, 50, 74, 0.85);
    border-bottom: 3px solid rgba(239, 68, 68, 0.8);
    border-radius: 14px;
    box-shadow: var(--rrh-shadow);
    color: var(--rrh-text);
}

.rrh-login-modal .rrh-password-forgotten-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rrh-login-modal .rrh-password-forgotten-body > div {
    width: 100%;
}

.rrh-login-modal .passwordChange {
    width: min(760px, 100%);
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0.8rem;
}

.rrh-login-modal .passwordChange .passwordChangeComponent {
    flex: 1 1 280px;
    max-width: 340px;
    width: auto;
    margin: 0;
}

.rrh-login-modal .profileLabel,
.rrh-login-modal .loginPasswordLabel {
    position: static;
    top: auto;
    left: auto;
    margin: 0 0 0.4rem;
}

.rrh-login-modal .profileInput,
.rrh-login-modal .loginPasswordInput {
    margin: 0;
    width: 100%;
}

.rrh-profile-password-modal .passwordChangeComponent {
    height: auto;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10px;
    padding: 10px;
}

.rrh-profile-password-modal .profileLabel {
    position: static;
    top: auto;
    left: auto;
    margin: 0 0 0.4rem;
}

.rrh-profile-password-modal .profileInput {
    margin: 0;
    width: 100%;
}

.rrh-password-checklist {
    margin-top: 0.2rem;
    padding: 0.7rem 0.8rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 50, 74, 0.85);
    background: rgba(15, 23, 42, 0.72);
    display: grid;
    gap: 0.28rem;
}

.rrh-password-check-title {
    margin: 0 0 0.22rem;
    color: #93c5fd;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.rrh-password-check-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.15;
}

.rrh-password-check-item.is-valid {
    color: #dcfce7;
}

.rrh-password-check-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: "Rajdhani", sans-serif;
}

.rrh-password-check-icon.is-valid {
    color: #dcfce7;
    background: rgba(22, 163, 74, 0.85);
    border: 1px solid rgba(74, 222, 128, 0.95);
}

.rrh-password-check-icon.is-invalid {
    color: #fee2e2;
    background: rgba(185, 28, 28, 0.85);
    border: 1px solid rgba(248, 113, 113, 0.95);
}

.rrh-vehicle-manager-modal .profileComponent {
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
    padding: 0.45rem 0.5rem 0.5rem;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

.rrh-vehicle-manager-modal .profileLabel {
    position: static;
    top: auto;
    left: auto;
    margin: 0 0 0.4rem;
}

.rrh-vehicle-manager-modal .profileInput,
.rrh-vehicle-manager-modal .registrationSelect {
    margin: 0;
    width: 100%;
}

.rrh-vehicle-manager-modal .registrationSelect {
    min-height: 46px;
}

.modal-title,
.profileLabel,
.registrationLabel,
.loginPasswordLabel,
.orgaContactLabel,
.nameLabel {
    color: #f3f4f6;
    text-decoration: none;
    font-style: normal;
}

.profileComponent,
.registrationComponent,
.eventChild,
.orgaContactComponent,
.orgaContactComponentBig,
.updatePopup {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 12, 24, 0.95));
    border: 1px solid rgba(37, 50, 74, 0.85);
    border-bottom: 3px solid rgba(239, 68, 68, 0.8);
    border-radius: 14px;
    box-shadow: var(--rrh-shadow);
    color: var(--rrh-text);
}

.eventChild:hover,
.profileComponent:hover,
.registrationComponent:hover,
.orgaContactComponent:hover {
    border-bottom-color: rgba(56, 189, 248, 0.95);
}

.table {
    color: var(--rrh-text);
    border-color: rgba(37, 50, 74, 0.85);
}

.table th {
    background: rgba(8, 13, 28, 0.95);
    color: #fca5a5;
    border-bottom: 1px solid rgba(239, 68, 68, 0.35);
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.table td {
    color: var(--rrh-text);
    border-color: rgba(37, 50, 74, 0.7);
    background: rgba(10, 15, 30, 0.5);
}

.table-striped tbody tr:nth-of-type(odd) td {
    background: rgba(16, 23, 42, 0.75);
}

.homeTable,
.profile,
.profileDoc,
.eventContainer,
.orgaContainer,
.confirmationContainer,
.logoutContainer,
.indexContainer {
    margin-top: 0;
    margin-bottom: 0;
}

.rrh-panel {
    border: 1px solid rgba(37, 50, 74, 0.85);
    border-radius: 16px;
    box-shadow: var(--rrh-shadow);
    background: rgba(9, 14, 28, 0.8);
    padding: 0.8rem;
}

.rrh-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.rrh-panel-title {
    margin: 0;
    color: #fca5a5;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    letter-spacing: 0.06em;
    font-size: 1rem;
    text-transform: uppercase;
}

.rrh-events-grid {
    padding: 0.2rem 0 0.8rem;
}

.rrh-event-card {
    height: auto;
    min-height: 310px;
    margin: 10px;
}

.rrh-events-shell {
    padding: 1.1rem;
    background: linear-gradient(165deg, rgba(8, 12, 26, 0.96), rgba(2, 5, 12, 0.95));
}

.rrh-events-header {
    align-items: flex-start;
    gap: 0.75rem;
}

.rrh-events-subtitle {
    margin: 0.35rem 0 0;
    color: var(--rrh-muted);
}

.rrh-events-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 460px));
    justify-content: center;
    gap: 1.1rem;
    padding-top: 0.5rem;
}

.rrh-event-card-modern {
    border: 1px solid rgba(31, 41, 55, 0.95);
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(140deg, rgba(17, 24, 39, 0.94), rgba(2, 6, 23, 0.96));
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.5);
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 460px;
    transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
    isolation: isolate;
}

.rrh-event-card-modern::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 0;
    pointer-events: none;
}

.rrh-event-card-modern::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.95), rgba(59, 130, 246, 0.9));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
    z-index: 2;
    pointer-events: none;
}

.rrh-event-card-modern:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(239, 68, 68, 0.55);
    box-shadow: 0 24px 44px rgba(2, 6, 23, 0.62);
}

.rrh-event-card-modern:hover::before {
    opacity: 1;
}

.rrh-event-card-modern:hover::after {
    transform: scaleX(1);
}

.rrh-event-poster {
    position: relative;
    min-height: 168px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.rrh-event-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.65));
}

.rrh-event-kind {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 1;
    border-radius: 999px;
    padding: 0.18rem 0.56rem;
    font-size: 0.7rem;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.rrh-event-kind-slalom {
    background: rgba(59, 130, 246, 0.25);
    color: #dbeafe;
}

.rrh-event-kind-hill {
    background: rgba(250, 204, 21, 0.22);
    color: #fef08a;
}

.rrh-event-kind-kart {
    background: rgba(16, 185, 129, 0.24);
    color: #bbf7d0;
}

.rrh-event-kind-default {
    background: rgba(100, 116, 139, 0.35);
    color: #e2e8f0;
}

.rrh-event-content {
    position: relative;
    z-index: 1;
    padding: 1.05rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.rrh-event-headline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.7rem;
}

.rrh-event-name {
    margin: 0;
    color: #f8fafc;
    font-size: 1.15rem;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    letter-spacing: 0.03em;
    line-height: 1.25;
    min-height: 2.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.35s ease;
}

.rrh-event-card-modern:hover .rrh-event-name {
    color: #fca5a5;
}

.rrh-event-card-modern .rrh-status-pill {
    padding: 0.3rem 0.72rem;
    border-width: 1px;
    border-style: solid;
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    background-image: linear-gradient(125deg, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.2));
}

.rrh-event-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.58rem;
}

.rrh-event-meta-item {
    border: 1px solid rgba(55, 65, 81, 0.85);
    border-radius: 12px;
    background: linear-gradient(130deg, rgba(17, 24, 39, 0.66), rgba(2, 6, 23, 0.62));
    padding: 0.5rem 0.62rem;
    min-height: 62px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.16rem;
    transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.35s ease;
}

.rrh-event-card-modern:hover .rrh-event-meta-item {
    border-color: rgba(75, 85, 99, 0.95);
    background: linear-gradient(130deg, rgba(31, 41, 55, 0.7), rgba(3, 7, 18, 0.68));
    transform: translateY(-1px);
}

.rrh-event-actions {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.rrh-btn-event-register {
    width: 100%;
    min-height: 47px;
    border-radius: 12px;
    letter-spacing: 0.08em;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-size: 0.86rem;
}

.rrh-btn-event-register:disabled,
.rrh-btn-event-register[disabled] {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    border-color: #6b7280;
    color: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 1;
}

.rrh-btn-event-register:disabled:hover,
.rrh-btn-event-register[disabled]:hover {
    transform: none;
    box-shadow: none;
}

.rrh-event-deadline {
    margin: 0.05rem 0 0;
    padding-top: 0.72rem;
    border-top: 1px solid rgba(55, 65, 81, 0.65);
    color: #cbd5e1;
    text-align: center;
    font-family: "Rajdhani", sans-serif;
    font-size: 0.96rem;
    letter-spacing: 0.02em;
}

.rrh-profile-shell {
    width: 100%;
    min-height: calc(100vh - 210px);
}

.rrh-profile-modern {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.rrh-profile-aside {
    background: linear-gradient(180deg, rgba(8, 14, 29, 0.94), rgba(4, 8, 18, 0.94));
    border: 1px solid rgba(37, 50, 74, 0.8);
    border-radius: 16px;
    padding: 1rem 0.85rem;
    display: grid;
    justify-items: center;
    gap: 0.45rem;
}

.rrh-profile-avatar {
    width: 132px;
    height: 132px;
    border-radius: 999px;
    border: 2px solid rgba(56, 189, 248, 0.45);
    background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.38), rgba(15, 23, 42, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8fafc;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
}

.rrh-profile-name {
    margin: 0.3rem 0 0;
    text-align: center;
    font-size: 1.05rem;
    color: #f3f4f6;
}

.rrh-profile-email {
    margin: 0;
    color: #fca5a5;
    font-size: 0.9rem;
}

.rrh-profile-meta {
    margin: 0;
    color: #94a3b8;
    font-size: 0.82rem;
}

.rrh-profile-competence {
    width: 100%;
    margin: 0.5rem 0 0.25rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(71, 85, 105, 0.45);
    text-align: center;
}

.rrh-profile-competence h4 {
    margin: 0;
    color: #38bdf8;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-size: 0.86rem;
    letter-spacing: 0.06em;
}

.rrh-profile-competence p {
    margin: 0.25rem 0 0;
    color: #e2e8f0;
}

.rrh-profile-maincard {
    background: rgba(10, 16, 31, 0.8);
    border: 1px solid rgba(37, 50, 74, 0.8);
    border-radius: 16px;
    padding: 0.95rem;
}

.rrh-profile-section {
    margin-bottom: 0.95rem;
}

.rrh-profile-section-box {
    padding: 0.58rem 0.65rem 0.66rem;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.42), rgba(10, 18, 34, 0.5));
}

.rrh-profile-section:last-of-type {
    margin-bottom: 0.65rem;
}

.rrh-profile-section-title {
    margin: 0 0 0.55rem;
    color: #38bdf8;
    font-size: 1rem;
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
}

.rrh-profile-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.75rem;
}

/* Keep profile inputs compact instead of stretching full row width. */
.rrh-profile-maincard .rrh-profile-fields-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.6rem;
}

.rrh-profile-field {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.rrh-profile-maincard .rrh-profile-field {
    flex: 1 1 260px;
    min-width: 178px;
    max-width: 260px;
}

.rrh-profile-field .profileLabel {
    margin: 0;
    font-size: 0.86rem;
    color: #cbd5e1;
}

.rrh-profile-maincard .rrh-profile-field .profileLabel {
    font-size: 0.78rem;
    margin-bottom: 0.08rem;
}

.rrh-profile-field .profileInput,
.rrh-profile-field .profileSelect {
    width: 100%;
    margin: 0;
}

.rrh-profile-maincard .rrh-profile-field .profileInput,
.rrh-profile-maincard .rrh-profile-field .profileSelect {
    min-height: 36px;
    padding: 0.38rem 0.62rem;
}

.rrh-profile-field-full {
    grid-column: 1 / -1;
}

.rrh-profile-maincard .rrh-profile-field-full {
    flex: 1 1 535px;
    min-width: 178px;
    max-width: 535px;
}

.rrh-profile-maincard .rrh-profile-field-compact-choice {
    flex: 0 1 162px;
    min-width: 138px;
    max-width: 162px;
}

.rrh-profile-maincard .rrh-profile-field-compact-choice .profileSelect {
    max-width: 162px;
}

.rrh-profile-maincard .rrh-profile-field-half {
    flex: 0 1 130px;
    min-width: 110px;
    max-width: 130px;
}

.rrh-profile-maincard .rrh-profile-field-email {
    flex: 1 1 260px;
    min-width: 200px;
    max-width: 320px;
}

/* Desktop profile layout: structured grid for cleaner alignment. */
@media (min-width: 1100px) {
    .rrh-profile-maincard .rrh-profile-fields-grid {
        display: grid;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 0.55rem 0.65rem;
        align-items: end;
    }

    .rrh-profile-maincard .rrh-profile-field {
        grid-column: span 2;
        min-width: 0;
        max-width: none;
        flex: initial;
    }

    .rrh-profile-maincard .rrh-profile-field-full {
        grid-column: span 4;
        min-width: 0;
        max-width: none;
        flex: initial;
    }

    .rrh-profile-maincard .rrh-profile-field-compact-choice {
        grid-column: span 1;
        min-width: 0;
        max-width: none;
        flex: initial;
    }

    .rrh-profile-maincard .rrh-profile-field-half {
        grid-column: span 1;
        min-width: 0;
        max-width: none;
        flex: initial;
    }

    .rrh-profile-maincard .rrh-profile-field-email {
        grid-column: span 2;
        min-width: 0;
        max-width: none;
        flex: initial;
    }

    .rrh-profile-maincard .rrh-profile-field .profileInput,
    .rrh-profile-maincard .rrh-profile-field .profileSelect,
    .rrh-profile-maincard .rrh-profile-field-compact-choice .profileSelect {
        max-width: none;
    }
}

.rrh-profile-inline-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
}

.rrh-profile-inline-check .profileCBX {
    margin: 0;
    align-self: center;
}

.rrh-profile-inline-check label {
    margin: 0;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.rrh-profile-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    border-top: 1px solid rgba(71, 85, 105, 0.4);
    padding-top: 0.75rem;
}

.rrh-vehicles-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.rrh-vehicles-header-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rrh-vehicles-header .rrh-profile-section-title {
    margin: 0;
}

.rrh-vehicles-subtitle {
    margin: 0;
    color: var(--rrh-muted);
    font-size: 0.9rem;
}

.rrh-vehicles-empty {
    border: 1px dashed rgba(100, 116, 139, 0.65);
    border-radius: 12px;
    padding: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.rrh-vehicles-empty p {
    margin: 0;
    color: #cbd5e1;
}

.rrh-vehicles-list-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 400px));
    justify-content: start;
    gap: 0.55rem;
}

.rrh-vehicle-item-simple {
    border: 1px solid rgba(71, 85, 105, 0.7);
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    background: linear-gradient(130deg, rgba(17, 24, 39, 0.66), rgba(2, 6, 23, 0.62));
    width: 100%;
    max-width: 400px;
}

.rrh-vehicle-item-name {
    margin: 0;
    color: #f8fafc;
    font-weight: 600;
}

.rrh-vehicle-item-meta {
    margin: 0.22rem 0 0;
    color: var(--rrh-muted);
    font-size: 0.84rem;
}

.rrh-vehicle-item-actions {
    margin-top: 0.55rem;
    display: flex;
    gap: 0.45rem;
}

.rrh-vehicle-item-actions .btn {
    min-height: 34px;
    padding: 0.28rem 0.62rem;
    font-size: 0.78rem;
}

.rrh-vehicle-btn-edit {
    background: linear-gradient(135deg, #facc15, #eab308);
    border: 1px solid rgba(234, 179, 8, 0.95);
    color: #111827 !important;
}

.rrh-vehicle-btn-edit:hover {
    background: linear-gradient(135deg, #fde047, #facc15);
    color: #111827 !important;
    box-shadow: 0 8px 18px rgba(234, 179, 8, 0.35);
}

.rrh-vehicle-btn-delete {
    text-transform: capitalize !important;
}

.rrh-vehicle-manager {
    display: block;
    max-width: 100%;
}

.rrh-vehicle-list,
.rrh-vehicle-editor {
    min-width: 0;
}

.rrh-vehicle-list {
    margin-bottom: 0.75rem;
}

.rrh-vehicle-editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
}

.rrh-vehicle-editor-head h4 {
    margin: 0;
    color: #38bdf8;
    font-size: 0.95rem;
    font-weight: 700;
}

.rrh-vehicle-editor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.6rem;
    align-items: start;
}

.rrh-vehicle-list-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.45rem;
}

.rrh-vehicle-row-actions {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
}

.rrh-vehicle-row-actions .btn {
    min-height: 32px;
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
}

.rrh-profile-grid {
    align-items: flex-start;
    gap: 0.35rem;
}

.rrh-profile-grid .profileComponent {
    margin: 10px;
}

.rrh-registration-section {
    margin: 0 0 0.9rem;
    padding: 1rem;
}

.rrh-wizard-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.rrh-wizard-rail {
    position: sticky;
    top: 102px;
    padding: 0.85rem;
}

.rrh-wizard-title {
    margin: 0;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    color: #fca5a5;
    font-size: 0.9rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.rrh-wizard-event {
    margin: 0.3rem 0 0.75rem;
    color: #cbd5e1;
    font-size: 0.88rem;
}

.rrh-wizard-main {
    min-width: 0;
}

.rrh-stepper-shell {
    display: grid;
    gap: 0.5rem;
}

.rrh-step-chip {
    border: 1px solid rgba(75, 85, 99, 0.68);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.95), rgba(15, 23, 42, 0.92));
    color: #cbd5e1;
    padding: 0.52rem 0.86rem;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.16), 0 2px 6px rgba(2, 6, 23, 0.25);
    transition: all 0.22s ease;
    min-height: 38px;
}

.rrh-step-progress {
    margin-top: 0.85rem;
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(71, 85, 105, 0.55);
    overflow: hidden;
}

.rrh-step-progress-bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.92), rgba(59, 130, 246, 0.85));
    transition: width 0.25s ease;
}

.rrh-step-progress-label {
    margin: 0.45rem 0 0;
    color: #94a3b8;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rrh-step-chip:hover {
    border-color: rgba(248, 113, 113, 0.7);
    color: #f8fafc;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(248, 113, 113, 0.22), 0 8px 16px rgba(2, 6, 23, 0.35);
}

.rrh-step-chip-active {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.44), rgba(30, 64, 175, 0.34));
    border-color: rgba(248, 113, 113, 0.92);
    color: #fff;
    box-shadow: 0 12px 22px rgba(239, 68, 68, 0.28);
}

.rrh-step-chip-complete {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(17, 24, 39, 0.88));
    border-color: rgba(96, 165, 250, 0.55);
    color: #dbeafe;
}

.rrh-step-shell {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.94), rgba(3, 7, 18, 0.92));
    border: 1px solid rgba(75, 85, 99, 0.7);
    border-radius: 14px;
    box-shadow: 0 14px 26px rgba(2, 6, 23, 0.35);
    position: relative;
    overflow: hidden;
}

.rrh-step-shell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.86), rgba(59, 130, 246, 0.76));
    pointer-events: none;
}

.rrh-step-form-shell {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 0.6rem 0.95rem;
    align-items: start;
    padding: 1rem 1.05rem 0.95rem;
}

.rrh-step-form-shell .rrh-section-title-wrap,
.rrh-step-form-shell .rrh-step-actions {
    grid-column: 1 / -1;
}

.rrh-quickfill-banner {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.55);
    color: #cbd5e1;
    font-size: 0.84rem;
}

.rrh-quickfill-toggle {
    min-height: 36px;
    font-size: 0.74rem;
    white-space: nowrap;
}

.rrh-mode-hint {
    grid-column: 1 / -1;
    margin: -0.15rem 0 0.1rem;
    color: #93c5fd;
    font-size: 0.76rem;
}

.rrh-review-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.rrh-review-item {
    border: 1px solid rgba(71, 85, 105, 0.45);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.48);
    padding: 0.52rem 0.66rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.rrh-review-item span {
    color: #94a3b8;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rrh-review-item strong {
    color: #f1f5f9;
    font-size: 0.95rem;
    font-weight: 600;
}

.rrh-step-shell .registrationComponent {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    min-height: auto;
}

.rrh-step-shell .registrationComponent:hover {
    background: transparent;
    border: 0;
}

/* Keep wizard form fields aligned to grid columns. */
.rrh-step-form-shell .registrationComponent {
    width: 100%;
    margin: 0;
    min-height: auto;
}

.rrh-step-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 0.8rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(75, 85, 99, 0.45);
}

.rrh-step-actions .rrh-btn-primary {
    min-width: 180px;
    min-height: 46px;
}

.rrh-step-actions .rrh-btn-secondary {
    min-width: 120px;
    min-height: 46px;
    border-radius: 12px;
}

.rrh-step-form-shell .registrationLabel {
    margin: 0 0 0.22rem;
    color: #cbd5e1;
    font-size: 0.79rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    font-style: normal;
}

.rrh-step-form-shell .registrationInput,
.rrh-step-form-shell .registrationSelect {
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(75, 85, 99, 0.65);
    border-radius: 10px;
    min-height: 38px;
    padding: 0.48rem 0.7rem;
    margin: 0;
}

.rrh-step-form-shell .registrationInput:focus,
.rrh-step-form-shell .registrationSelect:focus {
    border-color: rgba(248, 113, 113, 0.85);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.17);
}

.rrh-step-form-shell .registrationDisplacement {
    justify-content: flex-start;
}

.rrh-step-form-shell .registrationDisplacement .rrh-inline-label-compact {
    width: auto;
    min-width: 130px;
    text-align: left;
    margin-top: 0;
}

.rrh-step-form-shell #dv_note,
.rrh-step-form-shell #dv_generaleTerms,
.rrh-step-form-shell #dv_register {
    grid-column: 1 / -1;
}

.rrh-step-details-shell .registrationComponent,
.rrh-step-rules-shell .registrationComponent,
.rrh-step-rules-submit .registrationComponent {
    background: rgba(15, 23, 42, 0.46);
    border: 1px solid rgba(71, 85, 105, 0.38);
    border-radius: 10px;
    padding: 0.45rem 0.55rem 0.55rem;
}

.rrh-step-rules-shell .table {
    grid-column: 1 / -1;
    margin-top: 0.15rem;
    border-radius: 10px;
    overflow: hidden;
}

.rrh-step-rules-shell .rrh-step-actions,
.rrh-step-rules-submit .rrh-step-actions {
    grid-column: 1 / -1;
}

.rrh-step-details-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.65rem;
    padding: 0.85rem 0.95rem;
}

.rrh-step-details-shell .registrationComponent {
    padding: 0.35rem 0.42rem 0.42rem;
}

.rrh-step-details-shell .registrationLabel {
    margin-bottom: 0.12rem;
}

.rrh-step-details-shell .registrationInput,
.rrh-step-details-shell .registrationSelect {
    min-height: 34px;
    padding: 0.36rem 0.56rem;
}

.rrh-step-rules-shell {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.85rem 0.95rem;
}

.rrh-step-rules-submit {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: end;
    padding: 0.75rem 0.95rem;
}

.rrh-step-rules-submit #dv_generaleTerms {
    grid-column: 1;
}

.rrh-step-rules-submit #dv_register {
    grid-column: 2;
    min-width: 220px;
}

.rrh-submit-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
}

/* Desktop-first compact mode for step 3/4: less decoration, clearer form rhythm */
.rrh-step-details-shell {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.8rem 0.9rem;
}

.rrh-step-details-shell .registrationComponent {
    display: grid;
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    padding: 0.12rem 0 !important;
    margin: 0;
}

.rrh-step-details-shell .registrationLabel {
    margin: 0 !important;
    font-size: 0.79rem;
}

.rrh-step-details-shell .registrationInput,
.rrh-step-details-shell .registrationSelect {
    min-height: 34px;
    padding: 0.34rem 0.56rem;
}

.rrh-step-details-shell #di_dailyLicense label,
.rrh-step-form-shell #di_doubleStart label {
    margin: 0;
}

/* Inline checkbox rows: keep text beside checkbox. */
.rrh-inline-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0 0.62rem;
    border: 1px solid rgba(75, 85, 99, 0.65);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.86);
    box-sizing: border-box;
}

.rrh-step-form-shell .registrationComponent.rrh-inline-checkbox-row,
.rrh-step-details-shell .registrationComponent.rrh-inline-checkbox-row,
.rrh-vehicle-manager-modal .profileComponent.rrh-inline-checkbox-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.45rem !important;
    width: 100% !important;
    min-height: auto !important;
    box-sizing: border-box;
}

.rrh-vehicle-manager-modal .profileComponent.rrh-inline-checkbox-row {
    min-height: auto !important;
}

.rrh-vehicle-manager-modal .profileComponent.rrh-vehicle-diesel-field {
    justify-content: flex-start;
}

.rrh-vehicle-manager-modal .rrh-vehicle-diesel-field .rrh-checkbox-spacer-label {
    display: block !important;
    visibility: hidden !important;
    height: 1.2rem;
    margin: 0 0 0.4rem !important;
}

.rrh-vehicle-manager-modal .rrh-vehicle-diesel-field .rrh-inline-checkbox-row {
    min-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
}

.rrh-step-form-shell #di_doubleStart {
    width: 100%;
    margin: 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.rrh-step-details-shell #di_dailyLicense {
    width: 100%;
    margin: 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.rrh-step-form-shell #di_doubleStart .rrh-checkbox-spacer-label {
    display: block !important;
    visibility: hidden !important;
    height: 1.2rem;
    margin: 0 0 0.22rem !important;
}

.rrh-step-details-shell #di_dailyLicense .rrh-checkbox-spacer-label {
    display: block !important;
    visibility: hidden !important;
    margin: 0 0 0.12rem !important;
    line-height: 1.2;
}

.rrh-step-form-shell #dv_diesel.rrh-inline-checkbox-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.45rem !important;
    width: 100% !important;
    min-height: 38px !important;
    padding: 0 0.62rem !important;
    border: 1px solid rgba(75, 85, 99, 0.65) !important;
    border-radius: 10px !important;
    background: rgba(17, 24, 39, 0.9) !important;
    box-sizing: border-box;
    margin-top: 20px !important;
}

.rrh-checkbox-spacer-label {
    margin: 0 0 0.22rem !important;
    visibility: hidden;
    line-height: 1;
}

.rrh-inline-checkbox-row .profileCheckBox {
    margin: 0 !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
}

.rrh-inline-checkbox-row label {
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
    white-space: normal;
}

.rrh-step-details-shell .profileCheckBox {
    margin: 0;
}

.rrh-step-rules-shell {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0.8rem 0.9rem;
}

.rrh-step-rules-shell .table th,
.rrh-step-rules-shell .table td {
    padding: 0.38rem 0.5rem;
}

.rrh-step-rules-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.9rem;
}

.rrh-step-rules-submit .registrationComponent {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.rrh-step-rules-submit .registrationComponent#dv_generaleTerms {
    flex: 1;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.55rem;
}

.rrh-step-rules-submit #dv_generaleTerms .profileCheckBox {
    margin: 0 !important;
    flex: 0 0 auto;
}

.rrh-step-rules-submit #dv_generaleTerms label {
    margin: 0;
    display: inline-block;
    line-height: 1.25;
}

.rrh-step-rules-submit #dv_register {
    flex: 0 0 auto;
    min-width: 220px;
}

.rrh-section-title-wrap {
    width: 100%;
    text-align: center;
    margin-bottom: 0.45rem;
}

.rrh-section-title-wrap p {
    margin: 0.25rem 0 0.5rem;
    color: #fca5a5;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.rrh-confirmation-shell {
    margin-top: 0;
    min-height: calc(100vh - 230px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.rrh-confirmation-shell .confirmationContent {
    max-width: 620px;
    padding: 1.2rem 1.4rem;
}

.rrh-confirmation-shell .confirmationPayment {
    color: #f87171;
    font-weight: 600;
}

.orgaComponentTop.rrh-panel {
    position: static;
    margin-bottom: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem;
}

.rrh-organizer-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    flex: 1 1 auto;
    min-width: 280px;
}

.rrh-organizer-filters .orgaSelect.rrh-select {
    width: 100%;
    margin: 0;
}

.rrh-steward-filters .rrh-btn-secondary {
    width: 100%;
    margin: 0;
}

.rrh-organizer-quickstats {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    white-space: nowrap;
}

@media (min-width: 901px) {
    .rrh-mobile-menu-toast {
        display: none !important;
    }

    .orgaComponentTop.rrh-panel {
        flex-wrap: nowrap;
    }

    .rrh-organizer-filters {
        grid-template-columns: minmax(280px, 1.6fr) minmax(220px, 1fr);
        align-items: center;
        min-width: 0;
    }

    .rrh-organizer-filters.rrh-steward-filters {
        grid-template-columns: minmax(280px, 1.4fr) minmax(220px, 1fr) minmax(120px, auto);
    }
}

.orgaRegistrations.rrh-panel {
    margin-top: 0;
}

.rrh-admin-shell h1 {
    margin: 0.4rem 0 0.9rem;
    font-size: 1.15rem;
    color: #fca5a5;
}

.rrh-admin-fieldset {
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    padding: 0.8rem 1rem 0.9rem;
    margin-bottom: 0.9rem;
    background: rgba(9, 14, 28, 0.55);
}

.rrh-admin-fieldset legend {
    width: auto;
    padding: 0 0.5rem;
    margin: 0;
    color: #fca5a5;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 992px) {
    .rrh-admin-fieldset--outbox legend {
        white-space: nowrap;
    }
}

.rrh-admin-fieldset input[type="text"] {
    width: min(100%, 600px);
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid var(--rrh-border);
    background: rgba(17, 24, 39, 0.8);
    color: var(--rrh-text);
    padding: 0.55rem 0.8rem;
    margin-bottom: 0.65rem;
}

.rrh-admin-fieldset input[type="text"]:focus {
    outline: none;
    border-color: var(--rrh-red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.rrh-admin-fieldset ul {
    margin: 0;
    padding-left: 1.15rem;
}

.rrh-admin-fieldset li {
    margin-bottom: 0.38rem;
}

.rrh-organizer-edit-shell .modal-body {
    padding: 0.85rem;
}

.rrh-organizer-modal-content {
    min-height: 75%;
}

.rrh-organizer-modal-body {
    height: 100%;
}

.rrh-editor-dialog {
    max-width: min(1320px, 96vw);
}

.rrh-editor-modal {
    min-height: 84vh;
}

.rrh-editor-body-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 78vh;
}

.rrh-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0.1rem 0.55rem;
    border-bottom: 1px solid rgba(37, 50, 74, 0.85);
}

.rrh-editor-heading {
    min-width: 0;
}

.rrh-editor-title {
    margin: 0;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: #f8fafc;
}

.rrh-editor-subtitle {
    margin: 0.2rem 0 0;
    color: #93c5fd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rrh-editor-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.rrh-editor-actions .btnSaveModal,
.rrh-editor-actions .btnCloseModal {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rrh-editor-actions .btnCloseModal {
    min-width: 44px;
    border-radius: 12px;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
}

.rrh-editor-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 0.95rem;
    min-height: 0;
    flex: 1;
}

.rrh-editor-nav {
    background: rgba(10, 15, 30, 0.72);
    border: 1px solid rgba(37, 50, 74, 0.85);
    border-radius: 12px;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.rrh-editor-nav-btn {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(37, 50, 74, 0.9);
    background: rgba(15, 23, 42, 0.65);
    color: var(--rrh-text);
    border-radius: 10px;
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
    transition: all .16s ease;
}

.rrh-editor-nav-btn:hover {
    border-color: rgba(56, 189, 248, 0.7);
    color: #e2e8f0;
}

.rrh-editor-nav-btn.active {
    color: #fff;
    border-color: rgba(239, 68, 68, 0.8);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.28), rgba(185, 28, 28, 0.3));
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) inset;
}

.rrh-editor-content {
    background: rgba(9, 14, 28, 0.6);
    border: 1px solid rgba(37, 50, 74, 0.8);
    border-radius: 12px;
    padding: 0.65rem 0.85rem 0.85rem;
    overflow: auto;
}

.rrh-editor-content .orgaContainer {
    margin: 0;
}

.rrh-editor-content .orgaContactContainer {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 0.85rem 0.9rem;
    align-items: start;
    border: 0;
    padding: 0;
    width: 100%;
}

.rrh-editor-content .orgaContactComponent,
.rrh-editor-content .orgaContactComponentBig {
    width: 100%;
    margin: 0;
    height: auto;
    min-height: 96px;
    box-sizing: border-box;
}

.rrh-editor-content .orgaContactComponentBig {
    grid-column: 1 / -1;
    min-height: 190px;
}

/* Communication tab: subject and body should use full available width. */
.rrh-editor-content .orgaContactContainer .orgaContactComponent:nth-child(3),
.rrh-editor-content .orgaContactContainer .orgaContactComponentBig {
    grid-column: 1 / -1;
}

.rrh-editor-content .orgaContactLabel {
    position: static;
    top: auto;
    left: auto;
    margin: 0 0 0.45rem;
}

.rrh-editor-content .orgaContactInput,
.rrh-editor-content .orgaContactSelect,
.rrh-editor-content .orgaContactInputBig {
    width: 100%;
    margin: 0;
}

/* Force communication body textarea to use dark input theme. */
.rrh-editor-content textarea.orgaContactInputBig {
    background: rgba(17, 24, 39, 0.8) !important;
    color: var(--rrh-text) !important;
    border: 1px solid var(--rrh-border) !important;
}

.rrh-editor-content textarea.orgaContactInputBig:focus {
    background: rgba(17, 24, 39, 1) !important;
    border-color: var(--rrh-red) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.rrh-editor-content .orgaContactLabelInput {
    margin: 0;
    color: #e2e8f0;
}

.rrh-editor-content .orgaContactButton {
    grid-column: 1 / -1;
    justify-self: end;
    margin: 0;
}

.rrh-editor-content .orgaContactCheckBox {
    margin-left: 0;
}

/* Organizer registration editor: enforce a stable 3-column form grid. */
.rrh-organizer-edit-shell .profileRegistration {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.55rem 0.65rem;
    align-items: start;
    justify-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0.55rem 0 0;
}

.rrh-organizer-edit-shell .registrationComponent {
    width: 100%;
    margin: 0;
    min-height: 82px;
    height: auto;
    padding: 0.45rem 0.55rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.rrh-organizer-edit-shell .registrationLabel {
    position: static;
    top: auto;
    left: auto;
    margin: 0 0 0.25rem;
    font-size: 0.78rem;
}

.rrh-organizer-edit-shell .registrationInput,
.rrh-organizer-edit-shell .registrationSelect {
    width: 100%;
    margin: 0;
    min-height: 36px;
    padding: 0.38rem 0.6rem;
}

/* iPad/iOS Safari: increase dropdown control height in organizer editor. */
@supports (-webkit-touch-callout: none) {
    .rrh-organizer-edit-shell .registrationSelect,
    .rrh-editor-content .orgaContactSelect {
        height: 56px !important;
        min-height: 56px !important;
        line-height: 1.35;
        padding-top: 0.78rem;
        padding-bottom: 0.78rem;
        padding-right: 2rem;
        font-size: 16px;
    }
}

.rrh-organizer-edit-shell .registrationDisplacement {
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
}

.rrh-organizer-edit-shell #dv_note {
    grid-column: span 2;
}

/* Keep license number card same width as neighboring cards. */
.rrh-organizer-edit-shell #dv_driverLicenseNumber {
    grid-column: auto !important;
}

/* Steward registration editor: compact 2-column layout */
.rrh-steward-edit-shell .rrh-modal-dialog {
    max-width: min(1120px, 96vw);
}

.rrh-steward-edit-shell .rrh-steward-edit-body {
    padding-top: 0.8rem;
}

.rrh-steward-edit-shell .rrh-steward-edit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem 0.6rem;
    align-items: stretch;
    grid-auto-rows: minmax(82px, auto);
}

.rrh-steward-edit-shell .registrationComponent {
    width: 100%;
    height: 100%;
    margin: 0;
    min-height: 82px;
    padding: 0.45rem 0.55rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.rrh-steward-edit-shell .registrationLabel {
    position: static;
    top: auto;
    left: auto;
    margin: 0 0 0.25rem;
    font-size: 0.78rem;
}

.rrh-steward-edit-shell .registrationInput,
.rrh-steward-edit-shell .registrationSelect {
    width: 100%;
    margin: 0;
    min-height: 36px;
    padding: 0.38rem 0.6rem;
}

.rrh-steward-edit-shell .rrh-note-textarea {
    min-height: 66px;
}

.rrh-steward-edit-shell .rrh-steward-span-2 {
    grid-column: 1 / -1;
}

.rrh-tab-nav {
    border-bottom: 1px solid rgba(37, 50, 74, 0.85);
    gap: 0.35rem;
    align-items: center;
}

.rrh-tab-nav .nav-link {
    color: var(--rrh-text);
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(37, 50, 74, 0.85);
    border-radius: 10px;
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
}

.rrh-tab-nav .nav-link.active {
    color: #fff;
    border-color: rgba(239, 68, 68, 0.8);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(185, 28, 28, 0.28));
}

.rrh-tab-pane {
    height: 100%;
    width: 100%;
}

.rrh-tab-nav .btn {
    position: static;
    right: auto;
    margin-left: 0.25rem;
}

.btnRegenListModal,
.btnRegenModal,
.btnSaveModal,
.btnCloseModal {
    position: static;
    right: auto;
}

.rrh-modal-action-btn {
    margin-left: 0.45rem;
}

@media (max-width: 1200px) {
    .rrh-organizer-edit-shell .profileRegistration {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    }

    .rrh-organizer-edit-shell #dv_note {
        grid-column: 1 / -1;
    }

    .rrh-organizer-edit-shell #dv_driverLicenseNumber {
        grid-column: auto !important;
    }

    .rrh-editor-layout {
        grid-template-columns: 1fr;
    }

    .rrh-editor-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .rrh-editor-nav-btn {
        width: auto;
        min-width: 160px;
        text-align: center;
    }

    .rrh-editor-content .orgaContactContainer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {
    .rrh-steward-edit-shell .rrh-steward-edit-grid {
        grid-template-columns: 1fr;
    }

    .rrh-steward-edit-shell .rrh-steward-span-2 {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .rrh-organizer-edit-shell .profileRegistration {
        grid-template-columns: 1fr;
    }

    .rrh-editor-header {
        flex-direction: column;
        align-items: stretch;
    }

    .rrh-editor-actions {
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .rrh-editor-nav-btn {
        min-width: 0;
        width: 100%;
    }

    .rrh-editor-content .orgaContactContainer {
        grid-template-columns: 1fr;
    }

    .rrh-editor-content .orgaContactButton {
        justify-self: start;
    }
}

.rrh-registration-section .registrationComponent,
.rrh-registration-section .profileComponent {
    width: min(100%, 320px);
    margin: 8px;
    height: auto;
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

/* Wizard forms need full-width rows without legacy card spacing. */
.rrh-registration-section.rrh-step-shell .registrationComponent {
    width: 100%;
    margin: 0;
    min-height: auto;
}

.rrh-registration-section .registrationComponent[style*="border: none"] {
    width: min(100%, 640px);
}

.rrh-registration-section .registrationLabel {
    position: static;
    top: auto;
    left: auto;
    margin: 0 0 0.4rem;
    display: block;
    font-style: normal;
    text-decoration: none;
}

.rrh-registration-section .registrationInput,
.rrh-registration-section .registrationSelect {
    width: 100%;
    margin: 0;
}

.rrh-inline-input-compact {
    width: 100px !important;
    margin-left: 0 !important;
}

.rrh-inline-label-compact {
    width: 120px;
    text-align: right;
    margin-top: 8px;
}

.rrh-registration-section .registrationDisplacement {
    align-items: center;
    gap: 0.5rem;
}

.rrh-registration-section .registrationDisplacement .registrationInput {
    width: 120px !important;
    margin-left: 0 !important;
}

.rrh-registration-section .registrationDisplacement label {
    margin-top: 0 !important;
    color: var(--rrh-muted);
}

.rrh-no-bottom-border {
    border-bottom: none;
}

.rrh-vehicle-profile-shell {
    margin-left: calc(260px + 0.9rem);
    margin-right: 0;
    width: auto;
    margin-top: 1rem;
    padding: 0.95rem;
    border: 1px solid rgba(37, 50, 74, 0.8);
    border-radius: 16px;
    background: rgba(10, 16, 31, 0.8);
}

.rrh-export-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.rrh-export-note {
    margin: 0;
    color: var(--rrh-muted);
    font-size: 0.9rem;
}

.rrh-export-csv-block {
    align-items: flex-start;
}

.rrh-export-note-csv {
    max-width: 420px;
    margin-top: -0.15rem;
    padding-left: 0.55rem;
    border-left: 2px solid rgba(250, 204, 21, 0.65);
    font-size: 0.83rem;
    line-height: 1.3;
}

.rrh-export-secondary-row {
    margin-top: 0.75rem;
    gap: 0.7rem;
}

.rrh-export-group {
    margin: 0.55rem 0;
}

.rrh-export-group-title {
    margin: 0 0 0.45rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.rrh-export-separator {
    height: 1px;
    margin: 0.75rem 0;
    background: linear-gradient(90deg, rgba(37, 50, 74, 0), rgba(37, 50, 74, 0.85), rgba(37, 50, 74, 0));
}

.rrh-export-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rrh-export-row-stacked {
    align-items: flex-start;
}

.rrh-export-row-inline {
    flex-wrap: nowrap;
    align-items: center;
}

.rrh-export-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.5rem;
}

.rrh-export-section-box {
    padding: 0.6rem 0.65rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.42), rgba(10, 18, 34, 0.5));
}

.rrh-export-grid-docs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.rrh-export-grid-docs .btnExportList {
    width: 100%;
    min-width: 0;
}

.rrh-export-doc-btn-main {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    border-color: rgba(147, 197, 253, 0.6) !important;
    color: #eff6ff !important;
}

.rrh-export-doc-btn-empty {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
    border-color: rgba(196, 181, 253, 0.65) !important;
    color: #f5f3ff !important;
}

.rrh-export-date-input {
    max-width: 260px !important;
    min-width: 260px;
    margin-top: 0 !important;
}

.rrh-export-note {
    max-width: 760px;
    line-height: 1.35;
}

.rrh-export-group .btnExportList {
    min-height: 42px;
    min-width: 250px;
    margin-left: 0;
}

.rrh-export-file-picker {
    min-width: 280px;
}

.rrh-export-file-picker input[type="file"] {
    max-width: 100%;
}

@media (max-width: 760px) {
    .rrh-export-row-inline {
        flex-wrap: wrap;
    }

    .rrh-export-group .btnExportList {
        min-width: 0;
        width: 100%;
    }

    .rrh-export-date-input {
        min-width: 0;
        max-width: 100% !important;
        width: 100%;
    }

    .rrh-export-file-picker {
        min-width: 0;
        width: 100%;
    }

    .rrh-export-grid-docs {
        grid-template-columns: 1fr;
    }
}

.rrh-startnumbers-modal .rrh-modal-dialog {
    max-width: min(760px, 94vw);
}

.rrh-startnumbers-modal .modal-body {
    padding: 1rem 1.1rem 1.15rem;
}

.rrh-startnumbers-intro {
    margin: 0 0 0.85rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.75));
    color: #cbd5e1;
    font-size: 0.92rem;
}

.rrh-startnumbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.6rem;
}

.rrh-startnumbers-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    min-height: 54px;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 50, 74, 0.85);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(8, 12, 24, 0.92));
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.35);
}

.rrh-startnumbers-digit {
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #93c5fd;
}

.rrh-startnumbers-count {
    min-width: 34px;
    text-align: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.75);
    background: rgba(127, 29, 29, 0.42);
    color: #fee2e2;
    font-weight: 700;
    font-size: 0.92rem;
}

.rrh-groupsresume-modal .rrh-modal-dialog {
    max-width: min(900px, 95vw);
}

.rrh-groupsresume-modal .modal-body {
    padding: 1rem 1.1rem 1.15rem;
}

.rrh-groupsresume-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.65rem;
}

.rrh-groupsresume-card {
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 50, 74, 0.85);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(8, 12, 24, 0.92));
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.35);
}

.rrh-groupsresume-title {
    margin: 0;
    color: #f8fafc;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.rrh-groupsresume-meta {
    margin: 0.35rem 0 0;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.rrh-registration-section a {
    color: #7dd3fc;
}

.rrh-registration-section a:hover {
    color: #bae6fd;
}

.orgaRegistrations .btn-link {
    text-decoration: none;
}

.orgaRegistrations .btn-warning,
.orgaRegistrations .btn-primary {
    border-radius: 10px;
}

.orgaRegistrations .rrh-reg-action-btn {
    min-height: 28px !important;
    padding: 0.12rem 0.5rem !important;
    border-radius: 7px !important;
    font-size: 0.72rem !important;
    line-height: 1.1;
}

.orgaRegistrations .rrh-reg-action-pdf {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    border-color: rgba(147, 197, 253, 0.85) !important;
    color: #eff6ff !important;
}

.orgaRegistrations .rrh-reg-action-pdf:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    border-color: rgba(191, 219, 254, 0.95) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.rrh-panel .table {
    margin-bottom: 0;
}

.rrh-home-panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.rrh-season-filter-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rrh-season-filter-label {
    margin: 0;
    color: var(--rrh-muted);
    font-size: 0.9rem;
}

.rrh-season-filter {
    min-height: 38px;
    min-width: 140px;
    padding: 0.3rem 0.65rem;
}

.rrh-home-empty {
    text-align: center;
    padding: 2rem 0.8rem;
}

.rrh-home-empty h3 {
    color: #fca5a5;
    margin-bottom: 0.5rem;
}

.rrh-home-empty p {
    color: var(--rrh-muted);
    margin-bottom: 0.85rem;
}

.rrh-home-registration-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.rrh-home-registration-card {
    border: 1px solid rgba(37, 50, 74, 0.85);
    border-bottom: 3px solid rgba(239, 68, 68, 0.8);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(8, 12, 24, 0.92));
    padding: 0.85rem;
}

.rrh-home-registration-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
}

.rrh-home-registration-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rrh-home-expand-indicator {
    color: #93c5fd;
    font-size: 0.85rem;
    min-width: 16px;
    text-align: center;
}

.rrh-home-event-title {
    margin: 0;
    color: #f8fafc;
    font-size: 1.05rem;
}

.rrh-home-entry-date {
    margin: 0.2rem 0 0;
    color: var(--rrh-muted);
    font-size: 0.86rem;
}

.rrh-home-registration-body {
    margin-top: 0.7rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.5rem 0.75rem;
}

.rrh-home-detail {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.rrh-home-detail-label {
    color: var(--rrh-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rrh-home-detail-value {
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.93rem;
}

.rrh-home-registration-actions {
    margin-top: 0.65rem;
    display: flex;
    justify-content: flex-end;
}

.rrh-home-registration-card {
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.rrh-home-registration-card:hover {
    border-color: rgba(56, 189, 248, 0.75);
    transform: translateY(-1px);
}

.rrh-home-registration-card-expanded {
    border-bottom-color: rgba(56, 189, 248, 0.95);
}

.rrh-home-registration-collapsed-hint {
    margin-top: 0.4rem;
    color: var(--rrh-muted);
    font-size: 0.82rem;
}

.rrh-home-note {
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px dashed rgba(37, 50, 74, 0.9);
}

.rrh-home-note-text {
    margin: 0.2rem 0 0;
    color: #cbd5e1;
}

.rrh-home-payment-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.rrh-home-payment-qr {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    padding: 0;
}

.rrh-home-payment-balance {
    margin: 0;
    text-align: center;
}

.rrh-home-balance-ok {
    color: #4ade80;
}

.rrh-home-balance-mid {
    color: #facc15;
}

.rrh-home-balance-high {
    color: #f87171;
}

.steward-reg.rrh-panel {
    background: linear-gradient(145deg, rgba(9, 14, 28, 0.95), rgba(7, 11, 22, 0.95));
    border: 1px solid rgba(37, 50, 74, 0.85);
}

.rrh-center-shell {
    min-height: calc(100vh - 220px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.9rem;
}

.rrh-message-card {
    width: min(100%, 620px);
    padding: 1.25rem 1.4rem;
}

.rrh-logout-card {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rrh-logout-card h3 {
    margin: 0;
}

.rrh-maintenance-text {
    color: #f87171;
}

.rrh-maintenance-impact {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(248, 113, 113, 0.55);
    background: radial-gradient(circle at top, rgba(248, 113, 113, 0.15), rgba(9, 14, 28, 0.9) 60%);
}

.rrh-maintenance-impact::before {
    content: "";
    position: absolute;
    inset: -120% -40%;
    background: linear-gradient(120deg, transparent 40%, rgba(248, 113, 113, 0.2) 50%, transparent 60%);
    animation: rrhMaintenanceSweep 4s linear infinite;
    pointer-events: none;
}

.rrh-maintenance-badge {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.7);
    background: rgba(248, 113, 113, 0.16);
    color: #fecaca;
    letter-spacing: 0.11em;
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.rrh-maintenance-line {
    margin: 0.45rem 0;
    font-size: clamp(1.05rem, 2.7vw, 1.55rem);
    font-family: "Orbitron", "Rajdhani", sans-serif;
    letter-spacing: 0.04em;
    text-shadow: 0 0 12px rgba(248, 113, 113, 0.4);
    animation: rrhMaintenancePulse 1.9s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.rrh-maintenance-line-2 {
    animation-delay: 0.25s;
}

.rrh-maintenance-line-3 {
    animation-delay: 0.5s;
}

.rrh-maintenance-subtext {
    margin-top: 0.9rem;
    color: #cbd5e1;
    font-size: 1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

@keyframes rrhMaintenancePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
    }
}

@keyframes rrhMaintenanceSweep {
    0% {
        transform: translateX(-35%) rotate(10deg);
    }
    100% {
        transform: translateX(35%) rotate(10deg);
    }
}

.rrh-status-dot {
    font-size: 1.2rem;
    line-height: 1;
}

.rrh-status-pill {
    margin: 0;
    border: 1px solid rgba(37, 50, 74, 0.85);
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rrh-status-open {
    color: #22c55e;
    background-color: rgba(34, 197, 94, 0.18);
}

.rrh-status-closed {
    color: #f87171;
    background-color: rgba(248, 113, 113, 0.2);
}

.rrh-status-soon {
    color: #facc15;
    background-color: rgba(250, 204, 21, 0.18);
}

.rrh-status-complete {
    color: #fb923c;
    background-color: rgba(251, 146, 60, 0.18);
}

@media (max-width: 900px) {
    .rrh-main-content {
        padding: 92px 10px 90px;
    }

    .rrh-login-card {
        padding: 1.25rem;
    }

    .rrh-legacy-logo {
        width: 142px;
        height: 60px;
        margin-left: 4px;
    }

    .rrh-topbar {
        padding-right: 8px;
    }

    .rrh-topbar-actions {
        display: none;
    }

    .rrh-topbar-organizer-left {
        display: none;
    }

    .rrh-mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .rrh-legacy-logo::after {
        display: none;
    }

    .rrh-clock {
        display: none;
    }

    .rrh-registration-section .registrationComponent,
    .rrh-registration-section .profileComponent {
        width: 100%;
        margin: 6px 0;
    }

    .rrh-tab-nav {
        gap: 0.25rem;
    }

    .rrh-tab-nav .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.55rem;
    }

    .rrh-vehicle-profile-shell {
        margin-left: 0;
        margin-right: 0;
    }

    .rrh-profile-modern {
        grid-template-columns: 1fr;
    }

    .rrh-profile-aside {
        grid-template-columns: 1fr;
    }

    .rrh-profile-fields-grid {
        grid-template-columns: 1fr;
    }

    .rrh-profile-maincard .rrh-profile-field {
        flex: 1 1 210px;
        min-width: 146px;
        max-width: 260px;
    }

    .rrh-profile-maincard .rrh-profile-field-full {
        flex: 1 1 260px;
        min-width: 178px;
        max-width: 421px;
    }

    .rrh-profile-maincard .rrh-profile-field-compact-choice {
        flex: 0 1 146px;
        min-width: 122px;
        max-width: 146px;
    }

    .rrh-profile-maincard .rrh-profile-field-half {
        flex: 0 1 117px;
        min-width: 98px;
        max-width: 117px;
    }

    .rrh-profile-actions {
        justify-content: stretch;
    }

    .rrh-profile-actions .btn {
        flex: 1;
    }

    .rrh-vehicle-editor-grid {
        grid-template-columns: 1fr;
    }

    .rrh-vehicle-row-actions {
        justify-content: flex-start;
    }

    .rrh-vehicles-empty {
        flex-direction: column;
        align-items: flex-start;
    }

    .rrh-events-header {
        flex-direction: column;
    }

    .rrh-stepper-shell {
        gap: 0.4rem;
    }

    .rrh-wizard-layout {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .rrh-wizard-rail {
        position: static;
        top: auto;
    }

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

    .rrh-step-chip {
        width: 100%;
        text-align: left;
        font-size: 0.7rem;
    }

    .rrh-step-form-shell {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.9rem;
    }

    .rrh-step-rules-submit #dv_generaleTerms,
    .rrh-step-rules-submit #dv_register {
        grid-column: 1;
        min-width: 0;
    }

    .rrh-review-grid {
        grid-template-columns: 1fr;
    }

    .rrh-quickfill-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .rrh-step-actions {
        justify-content: space-between;
    }

    .rrh-event-meta-grid {
        grid-template-columns: 1fr;
    }

    .rrh-events-grid-modern {
        grid-template-columns: 1fr;
        row-gap: 2rem;
        width: 100%;
    }

    .rrh-event-content {
        padding: 0.9rem;
    }

    .rrh-event-card-modern {
        width: 100%;
        max-width: none;
    }

    .rrh-event-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .rrh-main-content {
        padding-left: 6px;
        padding-right: 6px;
    }

    .rrh-events-shell {
        padding: 0.45rem;
    }

    .rrh-events-grid-modern {
        row-gap: 2.25rem;
    }

    .rrh-mobile-menu-toast {
        top: 72px;
        right: 6px;
        width: calc(100vw - 12px);
    }
}

@media (min-width: 901px) {
    .rrh-wizard-layout {
        grid-template-columns: 1fr;
        max-width: 1100px;
        margin: 0 auto;
    }

    .rrh-wizard-rail {
        position: static;
        top: auto;
        padding: 0.95rem 1.05rem;
    }

    .rrh-stepper-shell {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.55rem;
        margin-top: 0.55rem;
    }

    .rrh-step-chip {
        width: 100%;
        text-align: left;
        min-height: 50px;
        padding: 0.52rem 0.68rem;
        font-size: 0.71rem;
        border-radius: 12px;
    }

    .rrh-wizard-main {
        margin-top: 0.15rem;
    }

    .rrh-step-form-shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem 0.95rem;
        padding: 0.95rem 1.05rem;
    }

    .rrh-step-details-shell {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.6rem 0.85rem;
        padding: 0.9rem 1.05rem;
    }

    .rrh-step-form-shell .registrationComponent,
    .rrh-step-details-shell .registrationComponent {
        display: block !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }

    .rrh-step-form-shell .registrationLabel,
    .rrh-step-details-shell .registrationLabel {
        margin: 0 0 0.22rem !important;
        font-size: 0.8rem;
    }

    .rrh-step-form-shell .registrationInput,
    .rrh-step-form-shell .registrationSelect,
    .rrh-step-details-shell .registrationInput,
    .rrh-step-details-shell .registrationSelect {
        min-height: 38px;
        padding: 0.4rem 0.62rem;
    }

    .rrh-step-form-shell #dv_street,
    .rrh-step-form-shell #dv_vehicle,
    .rrh-step-form-shell #dv_note {
        grid-column: 1 / -1;
    }

    .rrh-step-details-shell #dv_competitorLicenseNumber,
    .rrh-step-details-shell #dv_nationalSportAuthority,
    .rrh-step-details-shell #dv_licenseCountryOfAuthority {
        grid-column: auto;
    }

    .rrh-step-details-shell #dv_note {
        grid-column: 1 / -1;
    }

    .rrh-step-details-shell #dv_licenseCountryOfAuthority .registrationSelect,
    .rrh-step-details-shell #dv_nationalSportAuthority .registrationInput,
    .rrh-step-details-shell #dv_competitorLicenseNumber .registrationInput,
    .rrh-step-details-shell #dv_note .registrationInput,
    .rrh-step-details-shell #dv_note .rrh-note-textarea {
        width: 100% !important;
        max-width: none;
    }

    .rrh-step-details-shell #di_dailyLicense,
    .rrh-step-form-shell #di_doubleStart {
        display: flex !important;
        align-items: stretch !important;
    }

    .rrh-step-details-shell #dv_note .rrh-note-textarea {
        min-height: 96px;
        resize: vertical;
    }

    .rrh-step-rules-shell {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        padding: 0.9rem 1.05rem;
    }

    .rrh-step-rules-submit {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.9rem;
        align-items: center;
        padding: 0.75rem 1.05rem;
    }

    .rrh-step-rules-submit .registrationComponent {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        min-height: auto;
    }

    .rrh-step-rules-submit .registrationComponent#dv_generaleTerms {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 0.55rem;
    }
}

/* Force checkbox controls to match regular field control size. */
.rrh-step-details-shell #di_dailyLicense .rrh-inline-checkbox-row,
.rrh-step-form-shell #di_doubleStart .rrh-inline-checkbox-row,
.rrh-step-rules-submit #dv_generaleTerms {
    width: 100% !important;
    min-height: 38px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
}

.rrh-step-details-shell #di_dailyLicense .rrh-inline-checkbox-row {
    margin-top: -2px;
}

/* Global select text clipping fix (desktop + mobile) */
select.rrh-select,
select.orgaSelect,
select.profileSelect,
select.registrationSelect,
select.steward-reg__input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 44px !important;
    height: auto !important;
    line-height: 1.35 !important;
    padding: 10px 36px 10px 12px !important;
    -webkit-appearance: none;
    appearance: none;
    background-position: right 12px center;
}

select.rrh-select option,
select.orgaSelect option,
select.profileSelect option,
select.registrationSelect option,
select.steward-reg__input option {
    line-height: 1.35;
}

@media (max-width: 768px) {
    select.rrh-select,
    select.orgaSelect,
    select.profileSelect,
    select.registrationSelect,
    select.steward-reg__input {
        min-height: 50px !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
}

