:root {
    --brand: #00468E;
    --brand-dark: #003366;
    --brand-light: #E8F0FE;
    --white: #ffffff;
    --text-muted: #6b7280;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ── Header ── */
.lh-header {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    padding: 3.5rem 0 3rem;
    color: var(--white);
}

.lh-header-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.lh-header-desc {
    opacity: 0.85;
    font-size: 0.95rem;
    margin: 0;
}

/* ── Stepper ── */
.lh-stepper-section {
    background: #f9fafb;
    padding: 2rem 0 0;
}

.lh-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
}

.lh-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.lh-step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.lh-step.is-active .lh-step-circle {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(0, 70, 142, 0.15);
}

.lh-step.is-done .lh-step-circle {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
}

.lh-step.is-done .lh-step-circle i::before {
    content: "\F26A";
}

.lh-step-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #9ca3af;
    white-space: nowrap;
    transition: color 0.3s;
}

.lh-step.is-active .lh-step-label {
    color: var(--brand);
}

.lh-step.is-done .lh-step-label {
    color: #1a1a2e;
}

.lh-step-line {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    min-width: 40px;
    max-width: 100px;
    margin: 0 0.25rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
    transition: background 0.3s;
}

.lh-step-line.is-done {
    background: var(--brand);
}

/* ── Form Card ── */
.lh-form-section {
    background: #f9fafb;
    padding: 1.5rem 0 4rem;
}

.lh-form-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 2.5rem;
    max-width: 920px;
    margin: 0 auto;
    border: 1px solid rgba(0, 70, 142, 0.06);
}

.lh-stepper {
    max-width: 900px;
}

.lh-map {
    height: 320px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
}

.lh-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.lh-image-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    aspect-ratio: 1;
    background: #f9fafb;
}

.lh-image-actions {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}

.lh-image-move {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.lh-image-move:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.lh-image-move:not(:disabled):hover {
    background: var(--brand-light);
}

.lh-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lh-image-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lh-image-remove:hover {
    background: #c0392b;
}

.lh-subsection-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand);
    margin: 1.25rem 0 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(0, 70, 142, 0.08);
}

.lh-password-block {
    background: #fafbfc;
    border: 1px solid rgba(0, 70, 142, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
}

.lh-password-group .lh-input-no-right {
    border-radius: 8px 0 0 8px !important;
    border-right: none;
}

.lh-eye-btn {
    border: 1px solid #e5e7eb;
    border-left: none;
    border-radius: 0 8px 8px 0;
    background: #fff;
    color: #6b7280;
    padding: 0 0.85rem;
}

.lh-eye-btn:hover {
    background: var(--brand-light);
    color: var(--brand);
}

.pac-container {
    z-index: 1060 !important;
}

/* ── Panes ── */
.lh-pane {
    display: none;
}

.lh-pane.is-active {
    display: block;
}

.lh-pane-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.lh-pane-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ── Select2 multi (tags / institutes) ── */
.lh-select2-wrap .select2-container {
    width: 100% !important;
}

.lh-select2-wrap .select2-container--default .select2-selection--multiple {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    min-height: 46px;
    padding: 4px 8px;
    background: #fff;
}

.lh-select2-wrap .select2-container--default.select2-container--focus .select2-selection--multiple,
.lh-select2-wrap .select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 70, 142, 0.12);
}

.lh-select2-wrap .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: var(--brand-light);
    border: 1px solid rgba(0, 70, 142, 0.25);
    color: var(--brand);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.lh-select2-wrap .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--brand);
    margin-right: 4px;
    border-right: none;
}

.lh-select2-wrap .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: var(--brand-dark);
    background: transparent;
}

.lh-select2-wrap .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: #9ca3af;
    margin-top: 4px;
}

.lh-select2-wrap .select2-container--default.select2-container--disabled .select2-selection--multiple {
    background: #f3f4f6;
    cursor: not-allowed;
}

/* ── Labels & Inputs ── */
.lh-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.35rem;
    display: block;
}

.lh-label span {
    color: #c0392b;
}

.lh-input {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 0.88rem;
    padding: 0.55rem 0.85rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lh-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 70, 142, 0.1);
}

.lh-input::placeholder {
    color: #b0b6c0;
}

.lh-input-prefix {
    background: var(--brand-light);
    color: var(--brand);
    border: 1px solid #e5e7eb;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-weight: 700;
    font-size: 0.85rem;
}

.lh-input-prefix i {
    margin-right: 0.3rem;
}

.lh-input-no-left {
    border-radius: 0 8px 8px 0 !important;
}

/* ── Amenities Grid ── */
.lh-amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.lh-amenity-check {
    cursor: pointer;
    margin: 0;
}

.lh-amenity-check input {
    display: none;
}

.lh-amenity-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 0.82rem;
    font-weight: 500;
    color: #374151;
    text-align: center;
    transition: all 0.2s;
    background: var(--white);
}

.lh-amenity-check input:checked + .lh-amenity-box {
    background: var(--brand-light);
    border-color: var(--brand);
    color: var(--brand);
    font-weight: 600;
}

.lh-amenity-box:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* ── Upload Zone ── */
.lh-upload-zone {
    border: 2px dashed rgba(0, 70, 142, 0.2);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fafbfc;
}

.lh-upload-zone:hover {
    border-color: var(--brand);
    background: var(--brand-light);
}

.lh-upload-zone i {
    font-size: 2.5rem;
    color: var(--brand);
    opacity: 0.35;
    display: block;
    margin-bottom: 0.5rem;
}

.lh-upload-zone p {
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0;
}

.lh-upload-zone small {
    font-size: 0.75rem;
}

.lh-upload-btn {
    background: #1a1a2e;
    color: var(--white);
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: 8px;
    padding: 0.4rem 1.25rem;
}

.lh-upload-btn:hover {
    background: #0d0d1a;
    color: var(--white);
}

/* ── Review Step ── */
.lh-review-block {
    background: #fafbfc;
    border: 1px solid rgba(0, 70, 142, 0.06);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.lh-review-block h6 {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lh-review-block h6 i {
    color: var(--brand);
    font-size: 1.1rem;
}

.lh-rv-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.lh-rv-label + span {
    font-size: 0.88rem;
    color: #1a1a2e;
}

.lh-rv-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.lh-rv-tag {
    background: var(--brand-light);
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 70, 142, 0.1);
}

.lh-review-agree {
    background: #fafbfc;
    border: 1px solid rgba(0, 70, 142, 0.06);
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

.lh-review-agree .form-check-label {
    font-size: 0.85rem;
    color: #374151;
}

.lh-review-agree a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

.lh-review-agree a:hover {
    text-decoration: underline;
}

/* ── Navigation Buttons ── */
.lh-nav-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 70, 142, 0.06);
}

.lh-btn-prev {
    border: 1px solid #d1d5db;
    color: #374151;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 8px;
    padding: 0.55rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.lh-btn-prev:hover:not(:disabled) {
    background: #f3f4f6;
    color: #1a1a2e;
    border-color: #9ca3af;
}

.lh-btn-prev:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.lh-btn-next,
.lh-btn-submit {
    background: var(--brand);
    color: var(--white);
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 1.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 0.2s;
}

.lh-btn-next:hover,
.lh-btn-submit:hover {
    background: var(--brand-dark);
    color: var(--white);
}

/* ── Success Modal ── */
.lh-success-modal {
    border: none;
    border-radius: 16px;
}

.lh-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--brand-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.lh-success-icon i {
    font-size: 2.5rem;
    color: var(--brand);
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .lh-header {
        padding: 2.5rem 0 2rem;
    }

    .lh-header-title {
        font-size: 1.6rem;
    }

    .lh-stepper {
        gap: 0;
    }

    .lh-step-label {
        font-size: 0.65rem;
    }

    .lh-step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lh-step-line {
        min-width: 20px;
    }

    .lh-form-card {
        padding: 1.5rem;
    }

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

    .lh-nav-btns {
        gap: 0.5rem;
    }

    .lh-btn-prev,
    .lh-btn-next,
    .lh-btn-submit {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 575.98px) {
    .lh-amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lh-stepper {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
}
