﻿body {
}

/* Change Info:
   Type: Update
   Task: Select2 light theme + RTL arrow positioning
   Author: diabader
   Date: 2025-07-24 */

/* ── Select2: light container (white background, matches form-control) ── */
.select2-container--bootstrap-5 .select2-selection {
    min-height: 52px;
    border-radius: 12px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: var(--headings-color, #0B182E);
    font-weight: 600;
    font-size: 15px;
    line-height: 34px;
    padding-left: 0;
    padding-right: 0;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
    font-weight: 600;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    height: 50px;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow b {
    border-color: #333 transparent transparent transparent;
}

.select2-container--bootstrap-5.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #333 transparent;
}

/* Clear button (X) */
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear {
    color: #6c757d;
    font-size: 18px;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear:hover {
    color: #333;
}

/* Focus / open state */
.select2-container--bootstrap-5.select2-container--open .select2-selection,
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: #cab07d;
    box-shadow: 0 0 0 2px rgba(202, 176, 125, 0.25);
}

/* Dropdown panel */
.select2-container--bootstrap-5 .select2-dropdown {
    border-radius: 12px;
    border-color: #e9ecef;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field {
    border-radius: 8px;
    padding: 10px 14px;
    border-color: #dee2e6;
    font-size: 14px;
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field:focus {
    border-color: #cab07d;
    box-shadow: 0 0 0 2px rgba(202, 176, 125, 0.2);
}

/* Dropdown result items */
.select2-container--bootstrap-5 .select2-results__option {
    padding: 10px 14px;
    font-size: 14px;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected],
.select2-container--bootstrap-5 .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--headings-color, #0B182E);
    color: #fff;
}

.select2-container--bootstrap-5 .select2-results__option--selected {
    background-color: rgba(202, 176, 125, 0.12);
    color: var(--headings-color, #0B182E);
}

/* Disabled state */
.select2-container--bootstrap-5.select2-container--disabled .select2-selection {
    background-color: #e9ecef;
    border-color: #dee2e6;
    opacity: 0.65;
}

/* Loading message */
.select2-container--bootstrap-5 .select2-results__message {
    padding: 10px 14px;
    color: #6c757d;
    font-size: 14px;
}

/* Change Info:
   Type: Add
   Task: Registration wizard — card selection, step tabs, review, map styles
   Author: diabader
   Date: 2025-07-24 */

/* ── Registration Wizard: Membership type cards ── */
.reg-form-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 0.75rem;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    min-height: 150px;
}

.reg-form-card:hover {
    border-color: #cab07d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(202, 176, 125, 0.2);
}

.btn-check:checked + .reg-form-card {
    border-color: #cbb07c;
    box-shadow: 0 0 12px rgba(203, 176, 124, 0.4);
    background-color: rgba(203, 176, 124, 0.05);
}

.reg-card-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.reg-card-title {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    color: var(--headings-color, #0B182E);
}

/* ── Registration Wizard: Step navigation tabs ── */
.reg-wizard-tabs .nav-link {
    font-weight: 600;
    color: var(--headings-color, #0B182E);
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.2s;
}

.reg-wizard-tabs .nav-link.completed {
    background-color: #cab07d;
    color: #ffffff;
}

.reg-wizard-tabs .nav-link:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Registration Wizard: Step content card ── */
.reg-step-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ── Registration Wizard: Review summary table ── */
.reg-review-table th {
    font-weight: 600;
    color: var(--headings-color, #0B182E);
    width: 35%;
}

.reg-review-table td {
    color: #555;
}

/* ── Registration Wizard: Map container ── */
.reg-map-container {
    height: 300px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.reg-map-search {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 300px;
}

/* ── Registration Wizard: Logo sizing ── */
.reg-logo {
    height: 75px;
}

/* Change Info:
   Type: Update
   Task: Registration page — luxury background + premium visual
   Author: diabader
   Date: 2025-07-24 */

/* ── Registration Page: Luxury dark-navy background ── */
.reg-page-bg {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: linear-gradient(160deg, #0d2040 0%, #0b182e 45%, #091527 100%);
}

/* Gold radial glow — center focal point */
.reg-page-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 55% at 50% 35%, rgba(203, 176, 125, 0.08) 0%, transparent 65%),
        radial-gradient(ellipse 45% 35% at 8%  90%, rgba(203, 176, 125, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 92% 10%, rgba(203, 176, 125, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure container sits above the pseudo-elements */
.reg-page-bg > .container {
    position: relative;
    z-index: 1;
}

/* Elevated white card on dark background */
.reg-page-bg .log-reg-form {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(203, 176, 125, 0.15);
}

/* Change Info:
   Type: Update
   Task: Registration page — match Login image (full height, top-anchored)
   Author: diabader
   Date: 2025-07-24 */

/* Change Info:
   Type: Update
   Task: Registration/Login — warm cream section background (#FEFAF1), card stays white
   Author: diabader
   Date: 2025-07-24 */

/* ── our-compare: positioning context + warm cream background to blend with image ── */
.our-compare {
    position: relative;
    overflow: hidden;
    background-color: #FEFAF1;
}

/* ── Login-style full-height background image (replaces Login's inline height:100%) ── */
.our-compare .login-bg-icon {
    height: 100%;
    top: 0;
}
