@import url('https://fonts.cdnfonts.com/css/poppins');

:root {
    --primary: #0f5d73;
    --primary-hover: #0f5d73;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --bg-soft: #f9fafb;
    --bg-white: #ffffff;
    --danger: #dc2626;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    --rmm-orange: #0f5d73;
    --rmm-navy: #0a1b33;
    --rmm-bg-light: #ffffff;
    --rmm-text-dark: #1e2b3c;
    --rmm-text-muted: #5a6d81;
    --rmm-trustpilot-green: #00b67a;
    --rmm-info-box-bg: #eef4f9;
    --rmm-border: #ced4da;

    --rmm-font: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --rmm-max-width: 800px;
    --rmm-radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins';
    background-color: var(--rmm-bg-light);
    color: var(--rmm-text-dark);
    line-height: 1.6;
    margin-bottom: 4.8rem;
}

/* Header Section */

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.logo img {
    display: block;
    max-width: 200px;
}

/* Navigation & Progress */

.nav-container {
    max-width: var(--rmm-max-width);
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 14px;
    color: var(--rmm-text-muted);
}

.progress-bar {
    max-width: var(--rmm-max-width);
    height: 12px;
    background: #e9ecef;
    margin: 10px auto 40px;
    border-radius: 10px;
    overflow: hidden;
}

.text-center {
    text-align: center;
}

.progress-fill {
    height: 100%;
    background: var(--rmm-orange);
    width: 20%; /* Step 1 of 5 */
    transition: width 0.3s ease;
}

/* Main Content */

.content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 20px;
    border-bottom: 2px skyblue solid;
}

h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--rmm-navy);
}

.question {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Buttons */

.btn-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-choice {
    padding: 15px;
    border: 1px solid var(--rmm-border);
    border-radius: var(--rmm-radius);
    background: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-choice:hover {
    border-color: var(--rmm-navy);
    background: #f8f9fa;
}

/* Important Box */

.info-box {
    background: var(--rmm-info-box-bg);
    border-radius: var(--rmm-radius);
    padding: 20px;
    text-align: left;
    margin-bottom: 30px;
    border: 2px solid #b8cedf;
}

.info-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.info-box p {
    font-size: 14px;
    color: var(--rmm-text-muted);
}

/* Trust Badges */

.badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    font-size: 13px;
    color: var(--rmm-text-muted);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-item img {
    max-width: 85px;
}

.icon-check {
    color: var(--rmm-trustpilot-green);
}

/* Agreement Specifics (Step 5) */

.agreement-box {
    text-align: left;
    padding: 15px;
    margin-bottom: 10px;
    border: 1.5px solid var(--rmm-border);
    border-radius: var(--rmm-radius);
}

.agreement-box strong {
    display: block;
    font-size: 14px;
}

.agreement-box span {
    font-size: 12px;
    color: var(--rmm-text-muted);
}

/* Info Boxes */

.important-box {
    background: var(--rmm-info-blue);
    padding: 20px;
    border-radius: var(--rmm-radius);
    text-align: left;
    margin-bottom: 30px;
}

.important-box h4 {
    margin-bottom: 8px;
    font-size: 16px;
}

.important-box p {
    font-size: 13px;
    color: var(--rmm-text-muted);
}

/* Document Links */

.doc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--rmm-border);
    border-radius: var(--rmm-radius);
    margin-bottom: 8px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
}

.doc-icon {
    background: var(--primary);
    color: white;
    padding: 4px 6px;
    font-size: 10px;
    border-radius: 4px;
    font-weight: bold;
}

/* Footer Pattern */

.pattern-footer {
    height: 150px;
    background-image: radial-gradient(var(--rmm-text-muted) 1px, transparent 0);
    background-size: 15px 15px;
    opacity: 0.3;
    margin-bottom: 0;
}

/* Legal Footer */

.legal-footer {
    background: var(--rmm-navy);
    color: white;
    padding: 40px 20px;
    font-size: 11px;
}

.legal-inner {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.8;
}

.fca-highlight {
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

/* Radio Card Styles */

.radio-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.radio-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1.5px solid var(--rmm-border);
    border-radius: var(--rmm-radius);
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

/* Hide the native radio button */

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Hover & Selected States */

.radio-card:hover {
    border-color: var(--rmm-navy);
    background: #fcfcfc;
}

.radio-card:has(input:checked) {
    border-color: var(--rmm-orange);
    background: #FFF9F6;
    color: var(--rmm-navy);
}

/* Optional: Radio Indicator Dot */

.radio-check {
    position: absolute;
    right: 20px;
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 50%;
    border: 1px solid var(--rmm-border);
}

.radio-card input:checked ~ .radio-check {
    background-color: var(--rmm-orange);
    border-color: var(--rmm-orange);
}

.radio-card input:checked ~ .radio-check:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.input-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

input[type="text"], input[type="email"], input[type="tel"], select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--text-dark);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins';
}

.helper-text {
    font-size: 12px;
    color: var(--rmm-text-muted);
    margin-top: 4px;
}

.address-page {
    max-width: 520px;
    margin: 60px auto;
    background: var(--bg-white);
    padding: 32px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

/* =========================
   HEADER TEXT
========================= */

.address-page h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

.address-page p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* =========================
   FORM LABELS
========================= */

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

/* =========================
   SEARCH INPUT
========================= */

.address-search-wrapper {
    position: relative;
}

.address-search-wrapper input {
    width: 100%;
    padding: 14px 52px 14px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.address-search-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 122, 69, 0.15);
}

.address-search-btn {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.1s;
}

.address-search-btn:hover {
    background: var(--primary-hover);
}

.address-search-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* =========================
   ADDRESS DROPDOWN
========================= */

.address-dropdown {
    display: none;
    margin-top: 18px;
}

.address-dropdown.show {
    display: block;
}

#address-suggestions {
    margin-top: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* =========================
   ADDRESS OPTION
========================= */

.address-suggestion {
    padding: 12px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.address-suggestion:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.address-suggestion:hover {
    background: var(--bg-soft);
}

/* =========================
   NO RESULTS STATE
========================= */

.address-no-results {
    padding: 16px;
    font-size: 14px;
    color: var(--danger);
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-no-results svg {
    flex-shrink: 0;
}

/* =========================
   ADDRESS FIELDS PANEL
========================= */

.address-fields {
    margin-top: 28px;
    padding: 20px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* =========================
   ADDRESS HEADER
========================= */

.address-fields-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.address-fields-header h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* =========================
   CLEAR BUTTON
========================= */

.btn-clear-address {
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: color 0.15s, transform 0.1s;
}

.btn-clear-address:hover {
    color: var(--danger);
}

.btn-clear-address:active {
    transform: scale(0.9);
}

/* =========================
   FORM CONTROLS
========================= */

.form-group {
    margin-bottom: 16px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 122, 69, 0.15);
}

/* =========================
   GRID SYSTEM (SIMPLE)
========================= */

.row {
    display: flex;
    gap: 16px;
}

.col-md-6 {
    flex: 1;
}

.address-search-btn {
    border-radius: 0 var(--radius) var(--radius) 0;
    border: 1px solid var(--border);
    border-left: none;
    background: var(--primary);
    color: #fff;
    width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.address-search-btn:hover {
    background: var(--primary-hover);
}

.address-search-wrapper input {
    flex: 1;
    padding: 14px 52px 14px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 14px;
}

.address-search-wrapper {
    position: relative;
    display: flex;
}

.input-group-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

/* =========================
   VALIDATION STATES
========================= */

.form-control.is-invalid {
    border-color: var(--danger);
}

.invalid-feedback {
    margin-top: 6px;
    font-size: 12px;
    color: var(--danger);
}

:root {
    --primary-color: #2563eb; /* Change to your brand color */
    --primary-hover: #1d4ed8;
    --overlay-bg: rgba(0, 0, 0, 0.5);
}

/* 1. Full Screen Loading Overlay */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Ensure it stays on top of everything */
    color: white;
    font-family: sans-serif;
}

/* 2. Fixed Bottom Button Container */

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 4.8rem;
}

.continue-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px; /* Optional: keeps button from being too wide on desktop */
    margin: 0 auto;
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.continue-btn:hover:not(:disabled) {
    background-color: var(--primary-hover);
}

.continue-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 3. Spinner Animation */

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Add padding to the body so content isn't cut off by the fixed footer */

.content-wrapper {
    padding-bottom: 80px;
}

.form-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 800;
}

.intro-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #4a5568;
}

.form-group {
    margin-bottom: 25px;
}

.label-main {
    display: block;
    font-size: 15px;
}

.label-sub {
    display: block;
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 7px;
}

/* Title Button Selection */

.title-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.title-btn {
    padding: 14px 12px;
    border: 2px solid var(--text-dark);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    font-family: 'Poppins';
}

.title-btn.active {
    border: 2px solid #1a2b4b;
    background: var(--text-dark);
    color: white;
}

/* Inputs */

.input-text {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
}

.input-text::-moz-placeholder {
    color: #cbd5e0;
    font-size: 14px;
}

.input-text::placeholder {
    color: #cbd5e0;
    font-size: 14px;
}

/* Date Grid */

.date-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.5fr;
    gap: 10px;
}

/* Why we need this box */

.info-box {
    background-color: #fff1e7;
    border: 1px solid #ffd8bf;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.info-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-box p {
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
    color: #4a5568;
}

.error {
    color: #e53e3e;
    font-size: 10px;
    margin-top: 5px;
    line-height: 1;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ssl-badge {
    position: absolute;
    right: 15px;
    pointer-events: none;
    height: 32px;
}

.ssl-badge img {
    max-width: 70px;
}

.input-hint {
    font-size: 12px;
    color: #cbd5e0;
    margin-top: 5px;
    display: block;
}

/* Privacy Policy Box */

.privacy-box {
    background-color: #eef5f9;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.privacy-checkbox {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #cbd5e0;
    cursor: pointer;
    margin-top: 2px;
}

.privacy-text strong {
    display: block;
    color: #7a9bb3; /* Muted blue color from image */
    margin-bottom: 5px;
}

.privacy-text p {
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
    color: #7a9bb3;
}

/* OTP Input Grid */

.otp-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.otp-input {
    width: 100%;
    height: 80px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    color: #1a2b4b;
    transition: border-color 0.2s;
}

.otp-input:focus {
    outline: none;
    border-color: #1a2b4b; /* Match focus state to brand dark blue */
}

/* Resend Section */

.resend-text {
    font-size: 14px;
    color: #718096;
    margin-bottom: 30px;
}

.resend-link {
    color: #1a2b4b;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.search-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-text {
    width: 100%;
    padding: 14px;
    border: 1px solid #1a2b4b;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
}

.btn-search {
    background-color: var(--primary); /* */
    border: none;
    border-radius: 8px;
    width: 54px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    width: 22px;
    filter: brightness(0) invert(1);
}

/* Results Dropdown */

.results-list {
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    margin-top: 5px;
    background: white;
    max-height: 180px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.result-item {
    padding: 12px 15px;
    border-bottom: 1px solid #edf2f7;
    cursor: pointer;
    font-size: 13px;
}

.result-item:hover {
    background-color: #f7fafc;
}

/* Blue Outlined Box */

.address-details-box {
    background-color: #eef5f9;
    border: 1px solid #b2c2d1;
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
}

/* Grid Layouts for same-line fields */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.manual-link {
    background: none;
    border: none;
    color: #1a2b4b;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    display: block;
}

/* Animated Spinner */

.spinner-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary); /* Brand orange */
    border-radius: 50%;
    animation: pulse 1.5s ease-out infinite;
}

.inner-circle {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    background-color: #1a2b4b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-circle img {
    width: 30px;
    filter: brightness(0) invert(1);
}

h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}

.status-text {
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 40px;
}

/* Animated Progress Bar */

.loading-container .progress-track {
    width: 80%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}

.loading-container .progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    animation: fillProgress 3s forwards linear;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes fillProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.check-item {
    font-size: 13px;
    color: #718096;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Signature Section Styling */

.signing-area {
    background-color: #eef5f9;
    border: 1px solid #b2c2d1;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.pad-container {
    background: white;
    border: 1px solid #b2c2d1;
    border-radius: 4px;
    margin-bottom: 15px;
    position: relative;
    touch-action: none; /* Required for mobile signature */
}

canvas {
    width: 100%;
    height: 200px;
    cursor: crosshair;
}

.clear-btn {
    background: none;
    border: none;
    color: #7a869a;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 15px;
}

/* Checkbox Styling */

.checkbox-group {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    text-align: left;
    align-items: flex-start;
}

.custom-check {
    min-width: 22px;
    height: 22px;
    cursor: pointer;
}

.check-text {
    font-size: 13px;
    line-height: 1.4;
    color: #1a2b4b;
    font-weight: 500;
}

/* Agreement Cards */

.card {
    border: 1px solid #b2c2d1;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    background: #fff;
}

.card-title {
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
}

.card-sub {
    font-size: 12px;
    color: #7a869a;
    margin-top: 4px;
    display: block;
}

/* Orange Warning Box */

.warning-box {
    background-color: #fff1e7;
    border: 1px solid #ffd8bf;
    border-radius: 8px;
    padding: 15px;
    margin: 25px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #1a2b4b;
}

/* Document Section */

.document-container {
    background-color: #eef5f9;
    border: 1px solid #b2c2d1;
    border-radius: 8px;
    padding: 20px;
}

.doc-header {
    color: #8ba5bb;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.doc-item {
    background: white;
    border: 1px solid #b2c2d1;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.pdf-icon {
    width: 30px;
    margin-right: 12px;
}

.doc-info strong {
    font-size: 14px;
    display: block;
    color: #1a2b4b;
}

.doc-info span {
    font-size: 12px;
    color: #4a5568;
}

/* Checkbox Styling */

.checkbox-group {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    align-items: flex-start;
}

.custom-check {
    min-width: 22px;
    height: 22px;
    border: 1px solid #b2c2d1;
    border-radius: 4px;
    cursor: pointer;
}

.check-text {
    font-size: 13px;
    line-height: 1.4;
    color: #1a2b4b;
    font-weight: 500;
}

/* Container for all error messages */

.error-container {
    margin: 1rem 0;
    padding: 0.5rem;
    background-color: #fef2f2; /* Light red background */
    border: 1px solid #fee2e2; /* Soft red border */
    border-left: 4px solid #ef4444; /* Bold red accent line */
    border-radius: 0.5rem;
}

/* Individual error row */

.error-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #991b1b; /* Dark red text for contrast */
}

/* Spacing between multiple errors */

.error-item:not(:last-child) {
    border-bottom: 1px solid #fee2e2;
}

/* Icon styling */

.error-icon {
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.error-message {
    font-weight: 500;
    line-height: 1.25;
}

/* Animation to catch user's eye */

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.error-container {
    animation: shake 0.3s ease-in-out;
}

.p {
    margin: 1rem 0 !important;
}

.p a {
    text-decoration: none;
    color: #0a1b33;
}

.thanks-text {
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Reference Box */

.reference-box {
    border: 1px solid #f4945d;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 40px;
    background-color: #fff;
}

.reference-label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a2b4b;
    margin-bottom: 5px;
}

.reference-number {
    font-size: 22px;
    font-weight: 700;
    color: #a0aec0;
    letter-spacing: 1px;
}

/* Steps List */

.steps-list {
    text-align: left;
    margin-top: 40px;
}

.step-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    background-color: #8fb3ce;
    color: white;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.step-content h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.step-content p {
    margin: 0;
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
}