/* LandLens Verify My Land - Wizard Styles */
/* EXACT MATCH with workspace-new styling from lldashcustom.css */

/* ===== CSS VARIABLES FOR RESULTS SECTION ===== */
:root {
    /* Card Styles */
    --ll-card-bg: #ffffff;
    --ll-card-border: #e5e7eb;
    --ll-card-radius: 12px;
    --ll-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);

    /* Spacing */
    --ll-spacing-xs: 0.5rem;
    --ll-spacing-sm: 0.75rem;
    --ll-spacing-md: 1rem;
    --ll-spacing-lg: 1.5rem;

    /* Text Colors */
    --ll-text-primary: #111827;
    --ll-text-secondary: #6b7280;
    --ll-text-muted: #9ca3af;

    /* Status Colors */
    --ll-status-clear: #16a34a;
    --ll-status-warning: #f59e0b;
    --ll-status-alert: #ef4444;
    --ll-status-info: #3b82f6;

    /* Brand */
    --ll-brand-primary: #ff6725;
    --ll-brand-primary-hover: #e55a1c;
}

/* ===== WIZARD CONTAINER ===== */
.ll-wizard-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

/* ===== WIZARD HEADER ===== */
.ll-wizard-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.ll-wizard-back-link {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(107, 114, 128, 0.08);
    border: 1px solid rgba(107, 114, 128, 0.15);
    border-radius: 100px;
    transition: all 0.25s ease;
}

.ll-wizard-back-link:hover {
    color: #ff6725;
    background: rgba(255, 103, 37, 0.08);
    border-color: rgba(255, 103, 37, 0.2);
    transform: translateY(-1px);
}

.ll-wizard-back-link svg {
    width: 16px;
    height: 16px;
}

.ll-wizard-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin: 0 0 0.5rem 0;
    padding-top: 0.5rem;
    letter-spacing: -0.025em;
}

.ll-wizard-header p {
    font-size: 0.9375rem;
    color: #9ca3af;
    margin: 0 auto;
    text-align: center;
    display: block;
    width: 100%;
}

/* ===== WIZARD PROGRESS BAR (EXACT from workspace-new) ===== */
.ll-wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
}

.ll-progress-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ll-progress-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    color: rgba(26, 26, 28, 0.35);
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ll-progress-circle span {
    display: block;
}

.ll-progress-circle svg {
    width: 18px;
    height: 18px;
    display: none;
}

.ll-progress-step.active .ll-progress-circle {
    background-color: #ff6725;
    color: white;
    border-color: #ff6725;
    box-shadow: 0 4px 14px rgba(255, 103, 37, 0.35);
}

.ll-progress-step.completed .ll-progress-circle {
    background-color: #10b981;
    border-color: #10b981;
    color: white;
}

.ll-progress-step.completed .ll-progress-circle span {
    display: none;
}

.ll-progress-step.completed .ll-progress-circle svg {
    display: block;
}

.ll-progress-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(26, 26, 28, 0.4);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.ll-progress-step.active .ll-progress-label {
    color: var(--color-secondary);
}

.ll-progress-step.completed .ll-progress-label {
    color: #10b981;
}

.ll-progress-line {
    flex: 1;
    height: 2px;
    background-color: #e5e7eb;
    margin: 0 1rem;
    max-width: 80px;
    min-width: 20px;
    position: relative;
    border-radius: 1px;
}

.ll-progress-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: #10b981;
    transition: width 0.4s ease;
}

.ll-progress-line.filled::after,
.ll-progress-line.active::after {
    width: 100%;
}

/* ===== WIZARD STEPS ===== */
.ll-wizard-steps {
    position: relative;
}

.ll-wizard-step {
    display: none;
}

.ll-wizard-step.active {
    display: block;
}

/* ===== LOCATION CARD (Step 1) - No card wrapper like workspace-new ===== */
.ll-location-card {
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 1.5rem;
}

/* ===== MAP CONTAINER ===== */
.ll-map-container {
    position: relative;
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
}

#verifyMap {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Leaflet Control Styles */
.ll-map-container .leaflet-control-zoom {
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin: 15px !important;
}

.ll-map-container .leaflet-control-zoom a {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    background-color: #ffffff !important;
    color: #1a1a1c !important;
    border: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
    font-size: 18px !important;
    transition: all 0.2s ease;
}

.ll-map-container .leaflet-control-zoom a:last-child {
    border-bottom: none !important;
}

.ll-map-container .leaflet-control-zoom a:hover {
    background-color: #ff6725 !important;
    color: white !important;
}

.ll-map-container .leaflet-control-attribution {
    display: none !important;
}

/* ===== MAP SEARCH (EXACT from workspace-new) ===== */
.ll-map-search-container {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
    max-width: 400px;
}

.ll-map-search-wrapper {
    position: relative;
}

.ll-map-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: rgba(26, 26, 28, 0.4);
    pointer-events: none;
}

.ll-map-search-input {
    width: 100%;
    height: 48px;
    padding: 0 3rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    font-size: 0.9375rem;
    color: var(--color-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ll-map-search-input::placeholder {
    color: rgba(26, 26, 28, 0.5);
}

.ll-map-search-input:focus {
    outline: none;
    border-color: #ff6725;
    box-shadow: 0 4px 20px rgba(255, 103, 37, 0.15);
}

.ll-map-location-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    color: #6b7280;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    transition: all 0.2s ease;
}

.ll-map-location-btn:hover {
    background: rgba(255, 103, 37, 0.1);
    color: #ff6725;
}

.ll-map-location-btn.loading svg {
    animation: spin 1s linear infinite;
}

.ll-map-location-btn svg {
    width: 18px;
    height: 18px;
}

.ll-map-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-height: 280px;
    overflow-y: auto;
    display: none;
}

.ll-map-search-results:not(:empty) {
    display: block;
}

.ll-search-result {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.ll-search-result:last-child {
    border-bottom: none;
}

.ll-search-result:hover {
    background: rgba(255, 103, 37, 0.05);
}

.ll-search-result svg {
    width: 18px;
    height: 18px;
    color: #ff6725;
    flex-shrink: 0;
}

.ll-search-result span {
    font-size: 0.875rem;
    color: var(--color-secondary);
    line-height: 1.4;
}

.ll-search-no-results {
    padding: 1.5rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* ===== MAP INSTRUCTION (EXACT from workspace-new - Dark background) ===== */
.ll-map-instruction {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(26, 26, 28, 0.9);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ll-map-instruction svg {
    width: 18px;
    height: 18px;
}

/* ===== MAP MARKER ===== */
.ll-map-marker {
    background: none;
    border: none;
}

.ll-marker-pin {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ll-marker-pin::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #FF6725;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 12px rgba(255, 103, 37, 0.6);
    z-index: 2;
}

.ll-marker-pin::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 103, 37, 0.35);
    border-radius: 50%;
    animation: markerRadiate 1.5s ease-out infinite;
}

@keyframes markerRadiate {
    0% {
        transform: scale(0.4);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* ===== MAP LOADER (exact match with workspace-new) ===== */
.ll-map-loader {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    flex-direction: column;
    gap: 1.5rem;
}

.ll-loader-animation {
    position: relative;
    width: 180px;
    height: 180px;
}

.ll-radar-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ll-radar-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid #ff6725;
    opacity: 0;
    animation: radarPulse 3s ease-out infinite;
}

.ll-radar-ring-1 {
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.ll-radar-ring-2 {
    width: 100px;
    height: 100px;
    animation-delay: 1s;
}

.ll-radar-ring-3 {
    width: 140px;
    height: 140px;
    animation-delay: 2s;
}

@keyframes radarPulse {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
        border-color: #ff6725;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
        border-color: #ffb08a;
    }
}

.ll-radar-center {
    position: relative;
    z-index: 2;
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 103, 37, 0.4);
    animation: centerPulse 2s ease-in-out infinite;
}

.ll-radar-center img {
    width: 50px;
    height: auto;
}

@keyframes centerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 103, 37, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 30px rgba(255, 103, 37, 0.6);
    }
}

.ll-floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ll-float-icon {
    position: absolute;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ll-float-icon svg {
    width: 18px;
    height: 18px;
    color: #ff6725;
}

.ll-float-icon-1 {
    top: 0;
    left: 20px;
    animation: floatIcon1 4s ease-in-out infinite;
}

.ll-float-icon-2 {
    top: 20px;
    right: 0;
    animation: floatIcon2 4s ease-in-out infinite 1s;
}

.ll-float-icon-3 {
    bottom: 20px;
    right: 20px;
    animation: floatIcon3 4s ease-in-out infinite 2s;
}

.ll-float-icon-4 {
    bottom: 0;
    left: 0;
    animation: floatIcon4 4s ease-in-out infinite 3s;
}

@keyframes floatIcon1 {
    0% { opacity: 0; transform: translate(-20px, -20px) scale(0.5); }
    20% { opacity: 1; transform: translate(0, 0) scale(1); }
    50% { opacity: 1; transform: translate(25px, 25px) scale(0.9); }
    80%, 100% { opacity: 0; transform: translate(50px, 50px) scale(0.3); }
}

@keyframes floatIcon2 {
    0% { opacity: 0; transform: translate(20px, -20px) scale(0.5); }
    20% { opacity: 1; transform: translate(0, 0) scale(1); }
    50% { opacity: 1; transform: translate(-25px, 25px) scale(0.9); }
    80%, 100% { opacity: 0; transform: translate(-50px, 50px) scale(0.3); }
}

@keyframes floatIcon3 {
    0% { opacity: 0; transform: translate(20px, 20px) scale(0.5); }
    20% { opacity: 1; transform: translate(0, 0) scale(1); }
    50% { opacity: 1; transform: translate(-25px, -25px) scale(0.9); }
    80%, 100% { opacity: 0; transform: translate(-40px, -40px) scale(0.3); }
}

@keyframes floatIcon4 {
    0% { opacity: 0; transform: translate(-20px, 20px) scale(0.5); }
    20% { opacity: 1; transform: translate(0, 0) scale(1); }
    50% { opacity: 1; transform: translate(25px, -25px) scale(0.9); }
    80%, 100% { opacity: 0; transform: translate(50px, -40px) scale(0.3); }
}

.ll-loader-text {
    font-size: 1.125rem;
    color: rgba(26, 26, 28, 0.8);
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.ll-loader-subtext {
    font-size: 0.875rem;
    color: rgba(26, 26, 28, 0.5);
    margin-top: -0.75rem;
    text-align: center;
}

/* ===== FACTS CAROUSEL (exact match with workspace-new) ===== */
.ll-facts-carousel {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 103, 37, 0.08) 0%, rgba(255, 103, 37, 0.04) 100%);
    border: 1px solid rgba(255, 103, 37, 0.15);
    border-radius: 12px;
    max-width: 480px;
    text-align: center;
    transition: all 0.3s ease;
}

.ll-facts-carousel.paused {
    background: linear-gradient(135deg, rgba(255, 103, 37, 0.12) 0%, rgba(255, 103, 37, 0.08) 100%);
    border-color: rgba(255, 103, 37, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 103, 37, 0.1);
}

.ll-fact-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    background: rgba(255, 103, 37, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ll-fact-icon svg {
    width: 22px;
    height: 22px;
    color: #ff6725;
}

.ll-fact-text {
    font-size: 0.875rem;
    color: rgba(26, 26, 28, 0.8);
    line-height: 1.6;
    min-height: 48px;
    margin: 0;
    transition: opacity 0.3s ease;
}

.ll-fact-hint {
    font-size: 0.6875rem;
    color: rgba(26, 26, 28, 0.4);
    margin-top: 0.75rem;
}

/* ===== PROPERTY SELECTION (Survey Details) ===== */
.ll-survey-selection {
    margin-top: 1.25rem;
    padding: 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
}

.ll-survey-selection-header {
    margin-bottom: 1.25rem;
}

.ll-survey-selection-header h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 0.375rem 0;
    letter-spacing: -0.01em;
}

.ll-survey-selection-header p {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0;
}

/* ===== OWNER HERO ===== */
.ll-owner-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(52, 211, 153, 0.03));
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.25rem;
    transition: box-shadow 0.2s ease;
}

.ll-owner-hero:hover {
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.1);
}

.ll-owner-hero-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.ll-owner-hero-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.ll-owner-hero-content {
    flex: 1;
    min-width: 0;
}

.ll-owner-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.ll-owner-names {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-secondary);
    line-height: 1.4;
}

.ll-owner-name {
    display: block;
}

.ll-owner-extent {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--color-secondary);
    opacity: 0.6;
    margin-top: 0.125rem;
}

.ll-owner-hero.ll-owner-hero-muted {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.08), rgba(156, 163, 175, 0.03));
    border-color: rgba(107, 114, 128, 0.15);
}

.ll-owner-hero.ll-owner-hero-muted:hover {
    box-shadow: none;
}

.ll-owner-hero-icon.ll-owner-hero-icon-muted {
    background: linear-gradient(135deg, #9ca3af, #d1d5db);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.2);
}

/* ===== PROPERTY DETAILS GRID ===== */
.ll-property-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
}

.ll-property-detail-item {
    background: #f9fafb;
    padding: 0.875rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.ll-property-detail-item:hover {
    background: #f3f4f6;
    border-color: rgba(0, 0, 0, 0.06);
}

.ll-property-detail-item.ll-detail-highlight {
    background: linear-gradient(135deg, rgba(255, 103, 37, 0.07), rgba(255, 137, 82, 0.03));
    border: 1px solid rgba(255, 103, 37, 0.12);
}

.ll-property-detail-item.ll-detail-highlight:hover {
    border-color: rgba(255, 103, 37, 0.22);
    box-shadow: 0 2px 8px rgba(255, 103, 37, 0.08);
}

.ll-detail-label {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.ll-detail-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.ll-detail-highlight .ll-detail-value {
    color: #ff6725;
    font-weight: 700;
}

/* ===== EDITABLE SURVEY INPUTS ===== */
.ll-survey-edit-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ll-survey-edit-header h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}

.ll-survey-edit-hint {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0 0 1rem;
}

.ll-survey-edit-section .ll-survey-inputs {
    display: flex;
    gap: 0.75rem;
}

.ll-survey-edit-section .ll-survey-input-group {
    flex: 1;
}

.ll-survey-edit-section .ll-survey-input-group.small {
    flex: 0 0 140px;
}

.ll-survey-edit-section .ll-survey-input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ll-survey-edit-section .ll-input {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f9fafb;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.ll-survey-edit-section .ll-input:focus {
    background: #ffffff;
    border-color: #ff6725;
    box-shadow: 0 0 0 3px rgba(255, 103, 37, 0.08);
}

/* ===== PATTA SECTION IN STEP 2 ===== */
.ll-patta-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-stroke-2);
}

.ll-patta-section-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0 0 0.25rem;
}

.ll-patta-section-header p {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    opacity: 0.6;
    margin: 0 0 1rem;
}

.ll-ec-section-divider {
    margin-bottom: 1rem;
}

.ll-ec-section-divider h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0 0 0.25rem;
}

.ll-ec-section-divider p {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    opacity: 0.6;
    margin: 0 0 1rem;
}

/* ===== WIZARD NAVIGATION ===== */
.ll-wizard-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.75rem;
}

.ll-wizard-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.75rem;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
}

.ll-wizard-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.ll-wizard-btn.back {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.ll-wizard-btn.back:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.ll-wizard-btn.back:hover svg {
    transform: translateX(-2px);
}

.ll-wizard-btn.next,
.ll-wizard-btn.create {
    background: linear-gradient(135deg, #ff6725 0%, #ff8952 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 103, 37, 0.3);
    position: relative;
    overflow: hidden;
}

.ll-wizard-btn.next:hover:not(:disabled),
.ll-wizard-btn.create:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 103, 37, 0.4);
}

.ll-wizard-btn.next:hover:not(:disabled) svg,
.ll-wizard-btn.create:hover:not(:disabled) svg {
    transform: translateX(2px);
}

.ll-wizard-btn.next:disabled,
.ll-wizard-btn.create:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    background: #d1d5db !important;
    box-shadow: none !important;
    pointer-events: none;
}

.ll-wizard-btn.secondary {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.ll-wizard-btn.secondary:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.ll-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

/* ===== TALUK CARD (Step 2) ===== */
.ll-taluk-card {
    background: rgba(255, 255, 255, 0.95);
    /* backdrop-filter removed - it creates stacking context that traps dropdown z-index */
    border: 1px solid var(--color-stroke-2);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.ll-taluk-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-stroke-2);
}

.ll-taluk-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0 0 0.25rem 0;
}

.ll-taluk-header p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

.ll-taluk-content {
    padding: 1.5rem;
}

/* ===== FORM GRID (EC Dropdowns) ===== */
.ll-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ll-form-group {
    display: flex;
    flex-direction: column;
}

.ll-form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.ll-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-stroke-2);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: var(--color-secondary);
    background: white;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%231a1a1c'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

.ll-select:focus {
    outline: none;
    border-color: #ff6725;
    box-shadow: 0 0 0 3px rgba(255, 103, 37, 0.1);
}

.ll-select:disabled {
    background-color: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

/* NiceSelect Override */
.nice-select {
    width: 100%;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    border: 1px solid var(--color-stroke-2);
    border-radius: 10px;
    font-size: 0.9375rem;
    height: auto;
    line-height: 1.4;
}

.nice-select:focus,
.nice-select.open {
    border-color: #ff6725;
}

.nice-select .list {
    border-radius: 10px;
    max-height: 250px;
    overflow-y: auto;
}

.nice-select .option {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
    background: rgba(255, 103, 37, 0.08);
}

/* ===== CREDITS NOTICE ===== */
.ll-credits-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 103, 37, 0.08), rgba(255, 137, 82, 0.05));
    border: 1px solid rgba(255, 103, 37, 0.15);
    padding: 1.25rem;
    border-radius: 16px;
}

.ll-credits-notice-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff6725, #ff8952);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ll-credits-notice-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.ll-credits-notice-content {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--color-secondary);
}

.ll-credits-notice-content strong {
    color: #ff6725;
}

.ll-credits-notice-sub {
    display: block;
    font-size: 0.8125rem;
    opacity: 0.6;
    margin-top: 0.125rem;
}

.ll-credits-notice-balance {
    font-size: 0.875rem;
    color: var(--color-secondary);
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 9999px;
    white-space: nowrap;
}

.ll-credits-notice-balance strong {
    color: #ff6725;
}

/* ===== RESULTS PROPERTY CARD (Step 3) ===== */
.ll-results-property-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: rgba(252, 252, 252, 0.6);
    backdrop-filter: blur(25px);
    border: 1px solid var(--color-stroke-2);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.ll-results-property-info {
    flex: 1;
    display: flex;
    gap: 2rem;
}

.ll-results-survey,
.ll-results-location {
    display: flex;
    flex-direction: column;
}

.ll-results-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-secondary);
    opacity: 0.5;
    margin-bottom: 0.25rem;
}

.ll-results-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-secondary);
}

/* ===== RESULTS STATUS (Progress Circle) ===== */
.ll-results-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ll-results-progress-circle {
    position: relative;
    width: 64px;
    height: 64px;
}

.ll-results-progress-circle svg {
    width: 64px;
    height: 64px;
    transform: rotate(-90deg);
}

.ll-progress-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 3;
}

.ll-progress-fill {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 0.4s ease;
}

.ll-results-progress-circle svg defs {
    position: absolute;
}

.ll-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.875rem;
    font-weight: 700;
    color: #ff6725;
}

.ll-results-progress-info {
    display: flex;
    flex-direction: column;
}

.ll-results-progress-info .ll-progress-label {
    font-size: 0.75rem;
    color: var(--color-secondary);
    opacity: 0.6;
}

.ll-results-progress-info .ll-progress-count {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
}

/* ===== CHECK GROUPS ===== */
.ll-check-groups {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ll-check-group {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.ll-check-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    transition: background 0.15s ease;
    min-height: 52px;
}

.ll-check-group-header:hover {
    background: #f9fafb;
}

.ll-check-group-header.expanded .ll-check-group-arrow {
    transform: rotate(180deg);
}

.ll-check-group-icon {
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ll-check-group-icon svg {
    width: 18px;
    height: 18px;
    color: #ff6725;
}

.ll-check-group-title {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.ll-check-group-title h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.ll-check-group-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.1875rem 0.5rem;
    background: #f3f4f6;
    border-radius: 4px;
    color: #6b7280;
    white-space: nowrap;
}

.ll-check-group-arrow {
    width: 18px;
    height: 18px;
    color: #9ca3af;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

/* ===== CHECK GROUP CONTENT ===== */
.ll-check-group-content {
    display: none;
    padding: 0 0.75rem 0.75rem;
}

.ll-check-group-content.expanded {
    display: block;
}

/* ===== CHECK ITEM ===== */
.ll-check-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.ll-check-item:last-child {
    margin-bottom: 0;
}

.ll-check-item-icon {
    display: none;
}

.ll-check-item-info {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.ll-check-item-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

.ll-check-item-status {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.1875rem 0.375rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ll-check-item-status.pending {
    background: #e5e7eb;
    color: #6b7280;
}

.ll-check-item-status.running {
    background: #dbeafe;
    color: #2563eb;
    animation: pulse 1.5s ease-in-out infinite;
}

.ll-check-item-status.success {
    background: #dcfce7;
    color: #16a34a;
}

.ll-check-item-status.warning {
    background: #fef3c7;
    color: #d97706;
}

.ll-check-item-status.info {
    background: #dbeafe;
    color: #2563eb;
}

.ll-check-item-status.error {
    background: #fee2e2;
    color: #dc2626;
}

/* Retry Button for Failed Checks */
.ll-retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    margin-left: 8px;
    transition: all 0.2s ease;
}

.ll-retry-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.ll-retry-btn svg {
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.ll-check-item-result {
    display: none;
    margin-top: 0.5rem;
    padding: 0.625rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.8125rem;
    color: #374151;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.ll-result-warning {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #f59e0b;
}

.ll-result-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #ff6725;
    text-decoration: none;
    font-weight: 500;
}

.ll-result-link:hover {
    text-decoration: underline;
}

/* ===== RESULTS ACTIONS ===== */
.ll-results-actions {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== LOGIN PROMPT ===== */
.ll-login-prompt-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.ll-login-prompt {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(252, 252, 252, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid var(--color-stroke-2);
    border-radius: 24px;
    max-width: 450px;
}

.ll-login-prompt-content svg {
    width: 64px;
    height: 64px;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.ll-login-prompt-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0 0 0.75rem 0;
}

.ll-login-prompt-content p {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.ll-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #ff6725, #ff8952);
    color: white;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 103, 37, 0.35);
}

.ll-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 103, 37, 0.45);
    color: white;
}

/* ===== MODALS ===== */
.ll-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ll-modal.active {
    display: flex;
}

.ll-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.ll-modal-container {
    position: relative;
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

.ll-modal-sm {
    max-width: 380px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ll-modal-body {
    padding: 2rem;
}

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

.ll-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.ll-modal-icon svg {
    width: 32px;
    height: 32px;
}

.ll-modal-icon-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.ll-modal-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0 0 0.5rem 0;
}

.ll-modal-body p {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0 0 1.5rem 0;
}

.ll-modal-body p strong {
    color: #ff6725;
}

.ll-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.ll-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-secondary);
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ll-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

.ll-btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ll-btn-danger:hover {
    background: #dc2626;
}

.ll-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #ff6725, #ff8952);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.3);
}

.ll-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 103, 37, 0.4);
    color: white;
}

/* ===== SUBDIVISION MODAL (EXACT from workspace-new) ===== */
.ll-subdiv-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.ll-subdiv-modal.active {
    display: flex;
}

.ll-subdiv-modal-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 28, 0.4), rgba(26, 26, 28, 0.6));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ll-subdiv-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    box-shadow:
        0 32px 64px -16px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ll-subdiv-modal-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.ll-subdiv-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFEBE3 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ll-subdiv-modal-icon svg {
    width: 28px;
    height: 28px;
    color: #FF6725;
}

.ll-subdiv-modal-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #1a1a1c;
    letter-spacing: -0.01em;
}

.ll-subdiv-modal-header p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.ll-subdiv-modal-header p span {
    font-weight: 600;
    color: #FF6725;
    background: linear-gradient(135deg, #FFF5F0, #FFEBE3);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.8125rem;
}

.ll-subdiv-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1.5rem 1.5rem;
    max-height: min(320px, 50vh);
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    justify-content: center;
    align-content: flex-start;
}

.ll-subdiv-grid::-webkit-scrollbar {
    width: 4px;
}

.ll-subdiv-grid::-webkit-scrollbar-track {
    background: transparent;
}

.ll-subdiv-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.ll-subdiv-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 103, 37, 0.4);
}

.ll-subdiv-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 0.875rem;
    min-width: 60px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    transition: all 0.2s ease;
    position: relative;
}

.ll-subdiv-item:hover {
    border-color: #fcd5c5;
    background: #fffaf8;
    transform: scale(1.02);
}

.ll-subdiv-item.selected {
    background: linear-gradient(135deg, #FF6725, #FF7A3D);
    border-color: #FF6725;
    box-shadow: 0 4px 16px rgba(255, 103, 37, 0.3);
    transform: scale(1.02);
}

.ll-subdiv-number {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    line-height: 1;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.ll-subdiv-item.selected .ll-subdiv-number {
    color: white;
}

.ll-subdiv-owner {
    font-size: 0.625rem;
    color: #9ca3af;
    margin-top: 0.25rem;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ll-subdiv-item.selected .ll-subdiv-owner {
    color: rgba(255, 255, 255, 0.9);
}

.ll-subdiv-modal-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 2rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(249, 250, 251, 0.8));
    flex-shrink: 0;
}

.ll-subdiv-modal-btn {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    border: none;
    transition: all 0.2s ease;
}

.ll-subdiv-modal-btn.cancel {
    background: #f3f4f6;
    color: #6b7280;
}

.ll-subdiv-modal-btn.cancel:hover {
    background: #e5e7eb;
    color: #374151;
}

.ll-subdiv-modal-btn.confirm {
    background: linear-gradient(135deg, #FF6725 0%, #FF7A3D 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 103, 37, 0.25);
}

.ll-subdiv-modal-btn.confirm:hover:not(:disabled) {
    box-shadow: 0 4px 16px rgba(255, 103, 37, 0.35);
    transform: translateY(-1px);
}

.ll-subdiv-modal-btn.confirm:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 103, 37, 0.25);
}

.ll-subdiv-modal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Subdivision Error State */
.subdivision-error {
    text-align: center;
    padding: 2rem 1rem;
}

.subdivision-error .error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subdivision-error .error-icon i {
    font-size: 28px;
    color: #ef4444;
}

.subdivision-error h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0 0 0.75rem;
}

.subdivision-error p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin: 0 0 0.5rem;
}

.subdivision-error .error-suggestion {
    color: #ef4444;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.subdivision-error .ll-btn {
    min-width: 120px;
}

/* ===== TOAST NOTIFICATIONS ===== */
.ll-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
}

.ll-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.ll-toast svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
}

.ll-toast span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: white;
    line-height: 1.4;
}

.ll-toast-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.ll-toast-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.ll-toast-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* ===== LOADER SPINNER ===== */
.ll-loader-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .ll-wizard-progress {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .ll-progress-line {
        display: none;
    }

    .ll-progress-step {
        flex-direction: column;
        gap: 0.5rem;
        flex: 0 0 auto;
        min-width: 70px;
    }

    .ll-progress-circle {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .ll-progress-label {
        font-size: 0.75rem;
        text-align: center;
    }

    .ll-map-container {
        height: 540px;
    }

    .ll-results-property-card {
        flex-direction: column;
        gap: 1rem;
    }

    .ll-results-property-info {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .ll-results-status {
        width: 100%;
        justify-content: center;
    }

    .ll-property-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ll-form-grid {
        grid-template-columns: 1fr;
    }

    .ll-credits-notice {
        flex-direction: column;
        text-align: center;
    }

    .ll-wizard-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .ll-wizard-btn {
        width: 100%;
        justify-content: center;
    }

    .ll-results-actions {
        flex-direction: column;
    }

    .ll-results-actions .ll-wizard-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Mobile Wizard Header Fix */
    .ll-wizard-header {
        margin-bottom: 1.25rem;
        padding-top: 0;
    }

    .ll-wizard-back-link {
        position: static;
        margin-bottom: 1rem;
        font-size: 0.75rem;
        padding: 0.375rem 0.875rem;
    }

    .ll-wizard-header h1 {
        font-size: 1.375rem;
        margin-bottom: 0.25rem;
        padding-top: 0;
    }

    .ll-wizard-header p {
        font-size: 0.8125rem;
        line-height: 1.4;
        padding: 0 1rem;
    }

    /* Mobile Progress Steps */
    .ll-wizard-progress {
        margin-bottom: 1.25rem;
    }

    .ll-progress-circle {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .ll-progress-connector {
        width: 40px;
    }

    /* Mobile Property Card */
    .ll-results-property-card {
        padding: 1rem;
        border-radius: 14px;
        margin-bottom: 1rem;
        gap: 0.75rem;
    }

    .ll-results-property-info {
        gap: 0.5rem;
    }

    .ll-results-label {
        font-size: 0.625rem;
    }

    .ll-results-value {
        font-size: 1rem;
    }

    .ll-results-progress-circle {
        width: 52px;
        height: 52px;
    }

    .ll-results-progress-circle svg {
        width: 52px;
        height: 52px;
    }

    .ll-results-progress-value {
        font-size: 0.8125rem;
    }

    .ll-results-checks-count {
        font-size: 0.75rem;
    }

    .ll-property-details-grid {
        grid-template-columns: 1fr;
    }

    .ll-subdiv-grid {
        padding: 0 1rem 1.5rem;
    }

    .ll-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    /* Mobile Check Item Layout Fixes */
    .ll-check-item {
        padding: 0.75rem;
    }

    .ll-check-item-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .ll-check-item-info {
        flex: 1 1 100%;
        min-width: 0;
    }

    .ll-check-item-name {
        font-size: 0.8125rem;
        word-break: break-word;
    }

    .ll-check-item-status {
        font-size: 0.625rem;
        padding: 0.125rem 0.375rem;
    }

    .ll-check-item-result {
        font-size: 0.8125rem;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    /* Mobile Zone Explanation */
    .ll-zone-explanation {
        padding: 0.625rem 0.75rem;
        font-size: 0.75rem;
        line-height: 1.5;
    }

    /* Mobile CRZ Enhanced */
    .ll-crz-enhanced {
        padding: 0.75rem;
    }

    .ll-crz-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .ll-crz-badge {
        font-size: 0.6875rem;
        padding: 0.1875rem 0.5rem;
    }

    .ll-crz-title {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .ll-crz-desc {
        font-size: 0.75rem;
    }

    .ll-crz-restrictions {
        padding: 0.625rem;
    }

    .ll-crz-restrictions-title {
        font-size: 0.6875rem;
    }

    .ll-crz-list {
        font-size: 0.75rem;
        padding-left: 1rem;
    }

    .ll-crz-distance {
        font-size: 0.75rem;
    }

    /* Mobile Ownership Enhanced */
    .ll-ownership-enhanced {
        padding: 0.625rem;
    }

    .ll-owner-row {
        flex-direction: column;
        gap: 0.125rem;
        font-size: 0.8125rem;
    }

    .ll-owner-label {
        min-width: auto;
        font-size: 0.6875rem;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .ll-owner-value {
        font-size: 0.8125rem;
    }

    /* Mobile EC Enhanced */
    .ll-ec-enhanced {
        padding: 0.625rem;
    }

    .ll-ec-summary-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .ll-ec-stat {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .ll-ec-count {
        font-size: 1.25rem;
    }

    .ll-ec-period {
        font-size: 0.75rem;
    }

    .ll-ec-explanation {
        font-size: 0.75rem;
    }

    /* Mobile Geo Enhanced */
    .ll-geo-grid {
        gap: 0.5rem;
    }

    .ll-geo-item {
        padding: 0.5rem;
    }

    .ll-geo-icon {
        font-size: 1rem;
    }

    .ll-geo-label {
        font-size: 0.625rem;
    }

    .ll-geo-value {
        font-size: 0.8125rem;
    }

    .ll-geo-note {
        font-size: 0.6875rem;
    }

    /* Mobile Result Warning */
    .ll-result-warning {
        font-size: 0.8125rem;
        flex-wrap: wrap;
    }
}

/* ===== ENHANCED CHECK RESULT STYLES ===== */

/* Ownership Enhanced */
.ll-ownership-enhanced {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 103, 37, 0.05);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.ll-owner-row {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.ll-owner-label {
    color: #6b7280;
    min-width: 100px;
}

.ll-owner-value {
    color: #1a1a1c;
    font-weight: 500;
}

.ll-data-source {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #16a34a;
    margin-top: 0.25rem;
}

/* EC Enhanced */
.ll-ec-enhanced {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.ll-ec-summary-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
}

.ll-ec-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ll-ec-stat.excluded {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 0.375rem 0.75rem;
}

.ll-ec-stat.excluded .ll-ec-count {
    color: #92400e;
    font-size: 1.25rem;
}

.ll-ec-stat.excluded .ll-ec-label {
    color: #92400e;
}

.ll-ec-count {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.ll-ec-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 500;
}

.ll-ec-period {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    background: #f3f4f6;
    border-radius: 4px;
}

.ll-ec-period svg {
    width: 14px;
    height: 14px;
}

.ll-ec-explanation {
    padding: 0.625rem 0.75rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.ll-ec-explanation p {
    font-size: 0.75rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

.ll-ec-explanation strong {
    color: #111827;
}

/* EC Stat States */
.ll-ec-stat.has-data .ll-ec-count,
.ll-ec-stat.has-transactions .ll-ec-count {
    color: #16a34a;
}

.ll-ec-stat.has-data .ll-ec-count svg {
    width: 24px;
    height: 24px;
}

.ll-ec-stat.has-data .ll-ec-label {
    color: #16a34a;
    font-weight: 600;
}

/* EC Download Button */
.ll-ec-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: calc(100% - 1.5rem);
    margin: 0.75rem;
    padding: 0.625rem 1rem;
    background: #ff6725;
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.ll-ec-download-btn:hover {
    background: #e55a1c;
    color: #ffffff !important;
}

.ll-ec-download-btn svg {
    flex-shrink: 0;
}

/* FMB Actions */
.ll-fmb-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ll-fmb-actions .ll-result-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* FMB Note */
.ll-fmb-note {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.375rem 0 0 0;
}

/* Geo Enhanced */
.ll-geo-enhanced {
    padding: 0.5rem 0;
}

.ll-geo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.ll-geo-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.625rem;
    background: rgba(255, 103, 37, 0.05);
    border-radius: 8px;
}

.ll-geo-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.ll-geo-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.ll-geo-label {
    font-size: 0.6875rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ll-geo-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1c;
}

.ll-geo-note {
    font-size: 0.75rem;
    color: #6b7280;
}

.ll-geo-note.warning {
    color: #d97706;
}

/* Soil Enhanced */
.ll-soil-enhanced {
    padding: 0.5rem 0;
}

.ll-soil-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1c;
    margin-bottom: 0.375rem;
}

.ll-soil-desc {
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.ll-soil-characteristics {
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 6px;
}

.ll-soil-construction {
    font-size: 0.8125rem;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 0.375rem;
}

.ll-soil-bearing {
    font-size: 0.8125rem;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 0.375rem;
}

.ll-soil-note {
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Land Use Enhanced */
.ll-landuse-enhanced {
    padding: 0.5rem 0;
}

.ll-landuse-zone {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1c;
    margin-bottom: 0.375rem;
}

.ll-landuse-desc {
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.5;
}

/* Zone Explanation - Enhanced Styling */
.ll-zone-explanation {
    margin-top: 0.625rem;
    padding: 0.625rem 0.75rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 3px solid #f59e0b;
    border-radius: 0 6px 6px 0;
    font-size: 0.75rem;
    color: #78350f;
    line-height: 1.5;
}

.ll-zone-explanation.clear {
    background: #f0fdf4;
    border-color: #bbf7d0;
    border-left-color: #22c55e;
    color: #166534;
}

/* CRZ Enhanced Display */
.ll-crz-enhanced {
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 8px;
    padding: 0.875rem;
}

.ll-crz-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}

.ll-crz-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1875rem 0.5rem;
    background: #fef08a;
    color: #a16207;
    border: 1px solid #fde047;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.ll-crz-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #92400e;
}

.ll-crz-desc {
    font-size: 0.75rem;
    color: #78350f;
    line-height: 1.5;
    margin-bottom: 0.625rem;
}

.ll-crz-restrictions {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    padding: 0.625rem;
}

.ll-crz-restrictions-title {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #a16207;
    margin-bottom: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ll-crz-list {
    margin: 0;
    padding-left: 1.125rem;
    font-size: 0.75rem;
    color: #78350f;
    line-height: 1.5;
}

.ll-crz-list li {
    margin-bottom: 0.1875rem;
}

.ll-crz-list li:last-child {
    margin-bottom: 0;
}

.ll-crz-distance {
    margin-top: 0.625rem;
    padding-top: 0.625rem;
    border-top: 1px dashed #fde047;
    font-size: 0.75rem;
    color: #a16207;
    font-weight: 500;
}

/* ===== AIRPORT NOC ENHANCED DISPLAY ===== */
.ll-airport-noc-result {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 0.875rem;
}

.ll-airport-noc-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}

.ll-airport-noc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1875rem 0.5rem;
    background: #ffedd5;
    color: #c2410c;
    border: 1px solid #fed7aa;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.ll-airport-noc-info {
    font-size: 0.75rem;
    color: #9a3412;
    margin-bottom: 0.5rem;
}

.ll-airport-noc-metrics {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.625rem;
    flex-wrap: wrap;
}

.ll-airport-metric {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #fed7aa;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.ll-airport-metric.highlight {
    background: #fef3c7;
    border-color: #fde68a;
}

.ll-metric-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ll-metric-value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #c2410c;
}

.ll-airport-metric.highlight .ll-metric-value {
    color: #b45309;
}

/* ===== LAND USE (CMDA) ENHANCED DISPLAY ===== */
.ll-landuse-enhanced {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.ll-landuse-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
    border-bottom: 1px solid #bbf7d0;
}

.ll-landuse-icon {
    font-size: 1.5rem;
}

.ll-landuse-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.ll-landuse-type {
    font-weight: 600;
    font-size: 1rem;
    color: #166534;
}

.ll-landuse-desc-small {
    font-size: 0.75rem;
    color: #4ade80;
}

.ll-landuse-location {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dcfce7;
}

.ll-landuse-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ll-landuse-value {
    font-size: 0.8rem;
    color: #374151;
}

.ll-landuse-section {
    border-bottom: 1px solid #dcfce7;
}

.ll-landuse-section:last-child {
    border-bottom: none;
}

.ll-landuse-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    background: #f7fef9;
    transition: background 0.2s ease;
}

.ll-landuse-section-header:hover {
    background: #ecfdf5;
}

.ll-landuse-section-header span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #166534;
}

.ll-landuse-section-header .ll-toggle-icon {
    width: 16px;
    height: 16px;
    color: #4ade80;
    transition: transform 0.2s ease;
}

.ll-landuse-section-header.expanded .ll-toggle-icon {
    transform: rotate(180deg);
}

.ll-landuse-section-content {
    display: none;
    padding: 0.75rem 1rem;
    background: #ffffff;
}

.ll-landuse-section-content.expanded {
    display: block;
}

.ll-regulation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ll-regulation-list li {
    font-size: 0.75rem;
    color: #374151;
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
}

.ll-regulation-list li:last-child {
    border-bottom: none;
}

.ll-regulation-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.ll-setback-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.ll-setback-item {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.ll-setback-item span:first-child {
    font-size: 0.65rem;
    color: #6b7280;
    font-weight: 500;
}

.ll-setback-item span:last-child {
    font-size: 0.75rem;
    color: #111827;
    font-weight: 600;
}

.ll-setback-note {
    font-size: 0.7rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-style: italic;
}

.ll-uses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.ll-uses-category {
    padding: 0.625rem;
    border-radius: 6px;
}

.ll-uses-category.permitted {
    background: #dcfce7;
}

.ll-uses-category.prohibited {
    background: #fee2e2;
}

.ll-uses-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.ll-uses-category.permitted .ll-uses-title {
    color: #166534;
}

.ll-uses-category.prohibited .ll-uses-title {
    color: #991b1b;
}

.ll-uses-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ll-uses-category li {
    font-size: 0.7rem;
    padding: 0.125rem 0;
}

.ll-uses-category.permitted li {
    color: #15803d;
}

.ll-uses-category.prohibited li {
    color: #b91c1c;
}

@media (max-width: 480px) {
    .ll-setback-grid {
        grid-template-columns: 1fr;
    }

    .ll-uses-grid {
        grid-template-columns: 1fr;
    }

    .ll-landuse-header {
        padding: 0.75rem;
    }

    .ll-landuse-section-header {
        padding: 0.625rem 0.75rem;
    }

    .ll-landuse-section-content {
        padding: 0.625rem 0.75rem;
    }
}

/* CBA Enhanced Display */
.ll-cba-enhanced {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 0.875rem;
}

.ll-cba-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}

.ll-cba-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1875rem 0.5rem;
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.ll-cba-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e40af;
}

.ll-cba-desc {
    font-size: 0.75rem;
    color: #1e3a8a;
    line-height: 1.5;
    margin-bottom: 0.625rem;
}

.ll-cba-restrictions {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    padding: 0.625rem;
}

.ll-cba-restrictions-title {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ll-cba-list {
    margin: 0;
    padding-left: 1.125rem;
    font-size: 0.75rem;
    color: #1e3a8a;
    line-height: 1.5;
}

.ll-cba-list li {
    margin-bottom: 0.25rem;
}

.ll-cba-list li:last-child {
    margin-bottom: 0;
}

.ll-cba-list li strong {
    color: #1e40af;
}

.ll-cba-note {
    margin-top: 0.625rem;
    padding-top: 0.625rem;
    border-top: 1px dashed #93c5fd;
    font-size: 0.6875rem;
    color: #3b82f6;
    font-style: italic;
}

/* Enhanced Ownership Card */
.ll-ownership-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.ll-ownership-header {
    padding: 0.75rem;
    position: relative;
}

.ll-ownership-header.urban {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.ll-ownership-header.rural {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.ll-ownership-type-badge {
    display: inline-block;
    padding: 0.1875rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 3px;
    margin-bottom: 0.625rem;
}

.ll-ownership-header.urban .ll-ownership-type-badge {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.ll-ownership-header.rural .ll-ownership-type-badge {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.ll-ownership-owner-section {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.ll-ownership-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ll-ownership-header.urban .ll-ownership-icon {
    background: #eff6ff;
    color: #3b82f6;
    border: 1px solid #bfdbfe;
}

.ll-ownership-header.rural .ll-ownership-icon {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.ll-ownership-icon svg {
    width: 20px;
    height: 20px;
}

.ll-ownership-owner-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}

.ll-ownership-label {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.ll-ownership-name {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
    color: #111827;
}

.ll-owner-relation {
    font-size: 0.8125rem;
    font-weight: 400;
    opacity: 0.8;
}

/* Ownership Details Grid */
.ll-ownership-details-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.ll-ownership-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.ll-ownership-detail-item:last-child {
    border-bottom: none;
}

.ll-detail-icon {
    display: none;
}

.ll-detail-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ll-detail-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    word-break: break-word;
}

.ll-patta-value {
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-weight: 600;
    color: #0f172a;
}

.ll-area-value {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.ll-area-conversion {
    font-size: 0.75rem;
    font-weight: 400;
    color: #64748b;
}

/* Ownership Source Footer */
.ll-ownership-source {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #6b7280;
}

.ll-ownership-source svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #16a34a;
}

/* Mobile Responsive for Ownership Card */
@media (max-width: 480px) {
    .ll-ownership-card {
        border-radius: 10px;
    }

    .ll-ownership-header {
        padding: 0.875rem 1rem;
    }

    .ll-ownership-icon {
        width: 38px;
        height: 38px;
    }

    .ll-ownership-icon svg {
        width: 18px;
        height: 18px;
    }

    .ll-ownership-name {
        font-size: 0.9375rem;
    }

    .ll-ownership-details-grid {
        grid-template-columns: 1fr;
    }

    .ll-ownership-detail-item {
        border-right: none !important;
        padding: 0.75rem 1rem;
    }

    .ll-ownership-detail-item:last-child {
        border-bottom: none;
    }

    .ll-detail-value {
        font-size: 0.8125rem;
    }

    .ll-area-conversion {
        font-size: 0.6875rem;
    }

    .ll-ownership-source {
        font-size: 0.6875rem;
        padding: 0.625rem 0.875rem;
    }

    .ll-ownership-source svg {
        width: 14px;
        height: 14px;
    }
}

/* Clear result styling */
.ll-result-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #16a34a;
    font-weight: 500;
}

.ll-result-clear::before {
    content: '\2713';
    font-weight: 700;
}

/* Result Warning */
.ll-result-warning {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #b45309;
    font-weight: 500;
    line-height: 1.4;
}

/* Result Info (nearby/advisory) */
.ll-result-info {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 500;
    line-height: 1.4;
}

.ll-zone-explanation.info {
    color: #1e40af;
    background: rgba(59, 130, 246, 0.06);
    border-left: 2px solid #3b82f6;
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
    border-radius: 0 6px 6px 0;
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* Zone Check Item Enhanced Result */
.ll-check-item-result {
    margin-top: 0.625rem;
    font-size: 0.875rem;
}

.ll-check-item-result:has(.ll-crz-enhanced),
.ll-check-item-result:has(.ll-cba-enhanced),
.ll-check-item-result:has(.ll-zone-explanation) {
    margin-top: 0.75rem;
}

/* Result Link */
.ll-result-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #ff6725;
    text-decoration: none;
    font-weight: 500;
}

.ll-result-link:hover {
    color: #e55a1f;
    text-decoration: underline;
}

/* ===== NEW MOBILE-FIRST RESULTS SECTION ===== */

/* Base Result Card */
.ll-result-card {
    background: var(--ll-card-bg);
    border: 1px solid var(--ll-card-border);
    border-radius: var(--ll-card-radius);
    margin-bottom: var(--ll-spacing-md);
    overflow: hidden;
    box-shadow: var(--ll-card-shadow);
}

.ll-result-card-header {
    display: flex;
    align-items: center;
    gap: var(--ll-spacing-sm);
    padding: var(--ll-spacing-md);
    background: #f9fafb;
    border-bottom: 1px solid #f1f5f9;
}

.ll-result-card-body {
    padding: var(--ll-spacing-md);
}

/* ===== INTELLIGENT EC ANALYSIS CARD ===== */
.ll-ec-analysis-card {
    background: var(--ll-card-bg);
    border: 1px solid var(--ll-card-border);
    border-radius: var(--ll-card-radius);
    overflow: hidden;
}

/* EC Status Banner */
.ll-ec-status {
    display: flex;
    align-items: center;
    gap: var(--ll-spacing-sm);
    padding: var(--ll-spacing-md);
    font-weight: 600;
}

.ll-ec-status.clear {
    background: #f0fdf4;
    color: var(--ll-status-clear);
    border-bottom: 1px solid #dcfce7;
}

.ll-ec-status.warning {
    background: #fffbeb;
    color: #92400e;
    border-bottom: 1px solid #fef3c7;
}

.ll-ec-status.alert {
    background: #fef2f2;
    color: var(--ll-status-alert);
    border-bottom: 1px solid #fee2e2;
}

.ll-ec-status-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ll-ec-status-text {
    font-size: 0.9375rem;
}

/* EC Comparison Grid */
.ll-ec-comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--ll-spacing-xs);
    padding: var(--ll-spacing-md);
    background: #fafafa;
}

.ll-ec-comparison-item {
    display: flex;
    flex-direction: column;
    gap: var(--ll-spacing-xs);
    padding: var(--ll-spacing-sm);
    background: var(--ll-card-bg);
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.ll-comparison-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ll-text-secondary);
}

.ll-comparison-values {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: var(--ll-text-primary);
}

.ll-comparison-values span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ll-comparison-values .ll-source-label {
    font-size: 0.6875rem;
    color: var(--ll-text-muted);
    min-width: 60px;
}

.ll-comparison-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    width: fit-content;
}

.ll-comparison-status.match {
    background: #dcfce7;
    color: var(--ll-status-clear);
}

.ll-comparison-status.partial {
    background: #fef3c7;
    color: #92400e;
}

.ll-comparison-status.mismatch {
    background: #fee2e2;
    color: var(--ll-status-alert);
}

.ll-comparison-status.error {
    background: #f3f4f6;
    color: #6b7280;
}

.ll-comparison-reason {
    display: block;
    font-size: 0.75rem;
    color: var(--ll-text-muted);
    margin-top: 0.25rem;
    font-style: italic;
}

/* Encumbrance Summary */
.ll-encumbrance-summary {
    display: flex;
    flex-direction: column;
    gap: var(--ll-spacing-xs);
    padding: var(--ll-spacing-md);
    border-top: 1px solid #f1f5f9;
}

.ll-encumbrance-summary-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ll-text-secondary);
    margin-bottom: var(--ll-spacing-xs);
}

.ll-encumbrance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ll-spacing-xs) var(--ll-spacing-sm);
    border-radius: 6px;
    font-size: 0.8125rem;
}

.ll-encumbrance-item.clear {
    background: #f0fdf4;
    color: var(--ll-status-clear);
}

.ll-encumbrance-item.warning {
    background: #fffbeb;
    color: #92400e;
}

.ll-encumbrance-item.alert {
    background: #fef2f2;
    color: var(--ll-status-alert);
}

.ll-encumbrance-item span:first-child {
    font-weight: 500;
}

.ll-encumbrance-item span:last-child {
    font-weight: 600;
}

/* Transaction Timeline */
.ll-transaction-section {
    border-top: 1px solid #f1f5f9;
}

.ll-transaction-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ll-spacing-md);
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    transition: background 0.2s;
}

.ll-transaction-header:hover {
    background: #fafafa;
}

.ll-transaction-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ll-text-primary);
}

.ll-transaction-count {
    font-size: 0.75rem;
    color: var(--ll-text-secondary);
    padding: 0.25rem 0.5rem;
    background: #f1f5f9;
    border-radius: 4px;
}

.ll-transaction-toggle {
    width: 20px;
    height: 20px;
    color: var(--ll-text-muted);
    transition: transform 0.3s;
}

.ll-transaction-header.expanded .ll-transaction-toggle {
    transform: rotate(180deg);
}

.ll-transaction-list {
    display: none;
    padding: 0 var(--ll-spacing-md) var(--ll-spacing-md);
}

.ll-transaction-list.expanded {
    display: block;
}

.ll-transaction-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--ll-spacing-sm);
    border-left: 3px solid var(--ll-card-border);
    margin-left: var(--ll-spacing-xs);
    margin-bottom: var(--ll-spacing-xs);
}

.ll-transaction-item:last-child {
    margin-bottom: 0;
}

.ll-transaction-type {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    width: fit-content;
}

.ll-transaction-type.sale {
    background: #dbeafe;
    color: #1d4ed8;
    border-left-color: #3b82f6;
}

.ll-transaction-type.mortgage {
    background: #fef3c7;
    color: #92400e;
}

.ll-transaction-type.release {
    background: #dcfce7;
    color: #166534;
}

.ll-transaction-type.gift {
    background: #fce7f3;
    color: #9d174d;
}

.ll-transaction-type.partition {
    background: #e0e7ff;
    color: #4338ca;
}

.ll-transaction-date {
    font-size: 0.75rem;
    color: var(--ll-text-secondary);
}

.ll-transaction-parties {
    font-size: 0.8125rem;
    color: var(--ll-text-primary);
}

/* Enhanced transaction display */
.ll-transaction-detailed {
    background: var(--ll-card-bg);
    border-radius: 6px;
    padding: var(--ll-spacing-sm) !important;
    border-left: 3px solid var(--ll-primary) !important;
}

.ll-transaction-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.ll-transaction-docno {
    font-size: 0.7rem;
    color: var(--ll-text-secondary);
    background: rgba(0,0,0,0.05);
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
}

.ll-transaction-property {
    font-size: 0.75rem;
    color: #374151;
    background: rgba(59, 130, 246, 0.06);
    padding: 0.1875rem 0.5rem;
    border-radius: 4px;
    width: fit-content;
}

.ll-transaction-extra {
    font-size: 0.75rem;
    color: var(--ll-text-secondary);
    margin-top: 0.25rem;
    font-style: italic;
}

/* Transaction Table */
.ll-txn-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ll-txn-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.75rem;
}

.ll-txn-table thead th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.625rem;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid #e2e8f0;
}

.ll-txn-table thead th:first-child {
    border-radius: 6px 0 0 0;
}

.ll-txn-table thead th:last-child {
    border-radius: 0 6px 0 0;
}

.ll-txn-table tbody tr {
    transition: background 0.15s;
}

.ll-txn-table tbody tr:hover {
    background: #f8fafc;
}

.ll-txn-table tbody td {
    padding: 0.5rem 0.625rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: top;
    line-height: 1.45;
}

.ll-txn-table tbody tr:last-child td {
    border-bottom: none;
}

.ll-txn-num {
    color: #94a3b8;
    font-size: 0.6875rem;
    font-weight: 500;
    width: 28px;
    text-align: center;
}

.ll-txn-date {
    white-space: nowrap;
    color: #475569;
    font-size: 0.6875rem;
}

.ll-txn-docno {
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 0.6875rem;
    color: #475569;
    white-space: nowrap;
}

.ll-txn-parties {
    max-width: 220px;
    font-size: 0.7rem;
    line-height: 1.5;
}

.ll-txn-from {
    color: #334155;
}

.ll-txn-arrow {
    display: inline-block;
    margin: 0 0.25rem;
    color: #94a3b8;
    font-size: 0.65rem;
}

.ll-txn-to {
    color: #0f766e;
    font-weight: 500;
}

.ll-txn-property {
    font-size: 0.6875rem;
    color: #475569;
    white-space: nowrap;
}

.ll-txn-extent {
    color: #64748b;
    font-size: 0.65rem;
}

.ll-txn-amount {
    white-space: nowrap;
    font-weight: 500;
    color: #334155;
    font-size: 0.6875rem;
}

/* Transaction table cell styles */
.ll-txn-idx {
    color: #94a3b8;
    font-size: 0.6875rem;
    font-weight: 500;
    width: 32px;
    text-align: center;
}

.ll-txn-extra {
    font-size: 0.6875rem;
    color: #64748b;
    font-style: italic;
    white-space: nowrap;
}

/* Ownership table enhancements */
.ll-ownership-table .ll-owner-name-cell {
    font-weight: 500;
    color: #1e293b;
}

.ll-owner-current td {
    background: rgba(22, 163, 74, 0.04);
}

.ll-owner-current .ll-owner-name-cell {
    color: #16a34a;
    font-weight: 600;
}

.ll-current-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #dcfce7;
    color: #16a34a;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* AI Summary Section */
.ll-ec-ai-summary {
    padding: 0.75rem;
    background: #f0f9ff;
    border-top: 1px solid #e0f2fe;
}

.ll-ec-ai-summary p {
    font-size: 0.8125rem;
    color: #0c4a6e;
    line-height: 1.5;
    margin: 0;
}

/* Red Flags Section */
.ll-ec-red-flags {
    padding: 0.75rem;
    background: #fef2f2;
    border-top: 1px solid #fee2e2;
}

.ll-red-flags-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #991b1b;
    margin-bottom: 0.375rem;
}

.ll-ec-red-flags ul {
    margin: 0;
    padding-left: 1.25rem;
}

.ll-ec-red-flags li {
    font-size: 0.75rem;
    color: #7f1d1d;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

/* Recommendation Section */
.ll-ec-recommendation {
    padding: 0.75rem;
    background: #f0fdf4;
    border-top: 1px solid #dcfce7;
    font-size: 0.8125rem;
    color: #166534;
    line-height: 1.5;
}

.ll-ec-recommendation strong {
    color: #14532d;
}

/* Ownership Chain Section */
.ll-ownership-chain-section {
    border-top: 1px solid #f1f5f9;
}

.ll-ownership-chain-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    transition: background-color 0.2s;
}

.ll-ownership-chain-header:hover {
    background: #f9fafb;
}

.ll-ownership-chain-title {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--ll-text-primary);
}

.ll-ownership-chain-count {
    font-size: 0.75rem;
    color: var(--ll-text-muted);
    margin-left: auto;
}

.ll-ownership-chain-toggle {
    width: 16px;
    height: 16px;
    color: var(--ll-text-muted);
    transition: transform 0.2s;
}

.ll-ownership-chain-header.expanded .ll-ownership-chain-toggle {
    transform: rotate(180deg);
}

.ll-ownership-chain-list {
    display: none;
    padding: 0 0.75rem 0.75rem;
}

.ll-ownership-chain-list.expanded {
    display: block;
}

.ll-ownership-chain-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0;
    position: relative;
}

.ll-ownership-chain-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 1.5rem;
    bottom: -0.5rem;
    width: 1px;
    background: #e5e7eb;
}

.ll-chain-marker {
    font-size: 0.625rem;
    color: #9ca3af;
    flex-shrink: 0;
    width: 12px;
    text-align: center;
}

.ll-ownership-chain-item.current .ll-chain-marker {
    color: #16a34a;
}

.ll-chain-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.ll-chain-owner {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ll-text-primary);
    word-break: break-word;
}

.ll-ownership-chain-item.current .ll-chain-owner {
    color: #16a34a;
}

.ll-chain-details {
    font-size: 0.6875rem;
    color: var(--ll-text-muted);
}

.ll-ec-download-section {
    padding: var(--ll-spacing-md);
    border-top: 1px solid #f1f5f9;
}

/* ===== AI SUMMARY CARD ===== */
.ll-ai-summary-container {
    margin: 1.5rem 0;
}

.ll-ai-summary-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ll-ai-summary-card.low-risk {
    border-color: #86efac;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
}

.ll-ai-summary-card.medium-risk {
    border-color: #fcd34d;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}

.ll-ai-summary-card.high-risk {
    border-color: #fca5a5;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
}

.ll-ai-summary-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e5e7eb;
}

.ll-ai-summary-card.low-risk .ll-ai-summary-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #bbf7d0;
}

.ll-ai-summary-card.medium-risk .ll-ai-summary-header {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
}

.ll-ai-summary-card.high-risk .ll-ai-summary-header {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fecaca;
}

.ll-ai-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6725 0%, #ff8a50 100%);
    border-radius: 10px;
    color: white;
}

.ll-ai-summary-header span {
    font-weight: 600;
    font-size: 1rem;
    color: var(--ll-text-primary);
}

.ll-risk-badge {
    margin-left: auto;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ll-risk-badge.low-risk {
    background: #dcfce7;
    color: #166534;
}

.ll-risk-badge.medium-risk {
    background: #fef3c7;
    color: #92400e;
}

.ll-risk-badge.high-risk {
    background: #fee2e2;
    color: #991b1b;
}

.ll-ai-summary-content {
    padding: 1.25rem;
}

.ll-ai-main-summary {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--ll-text-primary);
    margin-bottom: 1rem;
}

.ll-ai-findings {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.ll-ai-findings h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ll-text-primary);
    margin-bottom: 0.75rem;
}

.ll-ai-findings ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ll-ai-findings li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    color: var(--ll-text-secondary);
    border-bottom: 1px solid #f9fafb;
}

.ll-ai-findings li:last-child {
    border-bottom: none;
}

.ll-ai-findings li .finding-icon {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.ll-ai-findings li.positive {
    color: #166534;
}

.ll-ai-findings li.positive .finding-icon {
    color: #22c55e;
}

.ll-ai-findings li.warning {
    color: #92400e;
}

.ll-ai-findings li.warning .finding-icon {
    color: #f59e0b;
}

.ll-ai-findings li.negative {
    color: #991b1b;
}

.ll-ai-findings li.negative .finding-icon {
    color: #ef4444;
}

.ll-ai-recommendation {
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: #0369a1;
    line-height: 1.5;
}

/* AI Loading State */
.ll-ai-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    color: var(--ll-text-muted);
}

.ll-ai-loading p {
    margin-top: 1rem;
    font-size: 0.875rem;
}

.ll-ai-loading-dots {
    display: flex;
    gap: 0.5rem;
}

.ll-ai-loading-dots span {
    width: 8px;
    height: 8px;
    background: #ff6725;
    border-radius: 50%;
    animation: aiDotPulse 1.4s ease-in-out infinite;
}

.ll-ai-loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.ll-ai-loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes aiDotPulse {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== MOBILE-FIRST RESPONSIVE ADJUSTMENTS ===== */

/* Default (Mobile) styles are base - no media query needed */

/* Tablet and up */
@media (min-width: 481px) {
    .ll-ec-comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ll-comparison-values {
        flex-direction: row;
        gap: var(--ll-spacing-sm);
    }
}

/* Desktop */
@media (min-width: 769px) {
    .ll-ec-comparison-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Name Match card spans full width for long names */
    .ll-ec-comparison-item:first-child {
        grid-column: 1 / -1;
    }

    .ll-ec-comparison-item:first-child .ll-comparison-values {
        flex-direction: row;
        justify-content: flex-start;
        gap: var(--ll-spacing-lg);
    }

    .ll-encumbrance-summary {
        flex-direction: row;
        gap: var(--ll-spacing-md);
    }

    .ll-encumbrance-item {
        flex: 1;
    }
}

/* ===== ENHANCED CHECK GROUPS FOR MOBILE ===== */
.ll-check-group {
    margin-bottom: var(--ll-spacing-sm);
}

.ll-check-group-header {
    min-height: 56px; /* Touch-friendly */
}

@media (max-width: 480px) {
    .ll-check-group-header {
        padding: var(--ll-spacing-sm);
    }

    .ll-check-group-icon {
        width: 36px;
        height: 36px;
    }

    .ll-check-group-title h4 {
        font-size: 0.875rem;
    }

    .ll-check-group-badge {
        font-size: 0.6875rem;
        padding: 0.1875rem 0.5rem;
    }
}

/* ===== IMPROVED GEO GRID FOR MOBILE ===== */
@media (max-width: 480px) {
    .ll-geo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ll-geo-item {
        padding: var(--ll-spacing-xs);
    }

    .ll-geo-value {
        font-size: 0.8125rem;
    }
}

/* ===== VERIFY PAGE & HISTORY HERO STYLES ===== */
.ll-verify-page {
    min-height: 100%;
    padding-bottom: 2rem;
}

.ll-verify-hero {
    position: relative;
    background: #0D1A1C;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.ll-verify-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ll-verify-glow {
    display: none;
}

.ll-verify-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.ll-verify-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.ll-verify-hero-left h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.ll-verify-hero-left h1 span {
    background: linear-gradient(135deg, #ff6725 0%, #ff8952 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ll-verify-hero-left p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 400px;
}

.ll-verify-hero-right {
    text-align: right;
}

.ll-verify-stats {
    display: flex;
    gap: 2rem;
}

.ll-verify-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ll-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.ll-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== CREDITS INFO BAR (History Page) ===== */
.ll-credits-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(252, 252, 252, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid var(--color-stroke-2, #e5e5e5);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.ll-credits-info-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #4b5563;
}

.ll-credits-info-left svg {
    width: 24px;
    height: 24px;
    color: #ff6725;
    flex-shrink: 0;
}

.ll-credits-info-left strong {
    color: #1a1a1c;
    font-weight: 600;
}

.ll-credits-info-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ll-history-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ll-history-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #1f2937;
}

.ll-history-btn svg {
    width: 16px;
    height: 16px;
}

.ll-add-credits-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #ff6725 0%, #ff8952 100%);
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ll-add-credits-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.3);
    color: white;
}

.ll-add-credits-btn svg {
    width: 16px;
    height: 16px;
}

/* ===== RESPONSIVE: VERIFY HERO ===== */
@media (max-width: 768px) {
    .ll-verify-hero {
        padding: 1.75rem;
    }

    .ll-verify-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .ll-verify-hero-left h1 {
        font-size: 1.75rem;
    }

    .ll-verify-hero-left p {
        max-width: 100%;
    }

    .ll-verify-hero-right {
        text-align: center;
    }

    .ll-verify-stats {
        justify-content: center;
    }

    .ll-stat-value {
        font-size: 2rem;
    }

    .ll-credits-info-bar {
        flex-direction: column;
        text-align: center;
    }

    .ll-credits-info-left {
        justify-content: center;
    }

    .ll-credits-info-right {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    .ll-ai-recommendation strong {
        display: block;
        margin-bottom: 0.375rem;
    }
}

/* ===== VERIFICATION DISCLAIMER ===== */
.ll-verification-disclaimer {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
    border: 1px solid #fcd34d;
    border-radius: 12px;
}

.ll-disclaimer-icon {
    flex-shrink: 0;
    color: #d97706;
    margin-top: 2px;
}

.ll-disclaimer-content {
    flex: 1;
}

.ll-disclaimer-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 0.5rem 0;
}

.ll-disclaimer-text {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #78350f;
    margin: 0;
}

.ll-disclaimer-text strong {
    color: #92400e;
}

@media (max-width: 480px) {
    .ll-verification-disclaimer {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
}

/* ===== FIX: Nice Select Dropdown Overflow ===== */
/* Ensure dropdown is not cut off by parent containers */
.ll-wizard-step[data-step="2"] {
    overflow: visible !important;
}

/* Nice Select dropdown fixes - ensure containers don't clip dropdowns */
.ll-wizard-step[data-step="2"] .ll-taluk-card,
.ll-wizard-step[data-step="2"] .ll-taluk-content,
.ll-wizard-step[data-step="2"] .ll-form-grid,
.ll-wizard-step[data-step="2"] .ll-form-group {
    overflow: visible !important;
}

/* Nice Select dropdown styling */
.ll-wizard-step[data-step="2"] .nice-select .list {
    position: absolute !important;
    z-index: 1000 !important;
    overflow-y: auto !important;
    max-height: 300px !important;
}

/* ===== NEW CHECK SECTIONS: ASI, BURIAL GROUND, UTILITIES ===== */

/* Skipped Status */
.ll-check-item-status.skipped {
    background: rgba(156, 163, 175, 0.15);
    color: #6b7280;
}

/* ASI Monument Styles */
.ll-asi-enhanced {
    padding: 0.75rem;
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 10px;
}

.ll-asi-header {
    margin-bottom: 0.75rem;
}

.ll-asi-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.ll-asi-badge.safe {
    background: #dcfce7;
    color: #166534;
}

.ll-asi-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.ll-asi-badge.danger {
    background: #fee2e2;
    color: #991b1b;
}

.ll-asi-monument,
.ll-asi-distance {
    font-size: 0.8125rem;
    color: var(--ll-text-secondary);
    margin-bottom: 0.5rem;
}

.ll-asi-restrictions,
.ll-asi-permissions {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

.ll-asi-restrictions-title,
.ll-asi-permissions-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #78350f;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ll-asi-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.8125rem;
    color: var(--ll-text-secondary);
}

.ll-asi-list li {
    margin-bottom: 0.25rem;
}

.ll-asi-list.allowed li {
    color: #166534;
}

.ll-asi-note {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: italic;
}

/* Burial Ground Styles */
.ll-burial-enhanced {
    padding: 0.75rem;
    background: #f5f3ff;
    border: 1px solid #e9d5ff;
    border-radius: 10px;
}

.ll-burial-header {
    margin-bottom: 0.75rem;
}

.ll-burial-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.ll-burial-badge.safe {
    background: #dcfce7;
    color: #166534;
}

.ll-burial-badge.caution {
    background: #fef3c7;
    color: #92400e;
}

.ll-burial-badge.warning {
    background: #ffedd5;
    color: #c2410c;
}

.ll-burial-badge.danger {
    background: #fee2e2;
    color: #991b1b;
}

.ll-burial-distance,
.ll-burial-impact {
    font-size: 0.8125rem;
    color: var(--ll-text-secondary);
    margin-bottom: 0.5rem;
}

.ll-burial-recommendations {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

.ll-burial-rec-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b21a8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ll-burial-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.8125rem;
    color: var(--ll-text-secondary);
}

.ll-burial-list li {
    margin-bottom: 0.25rem;
}

.ll-burial-note {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: italic;
}

/* Quarry Zone Styles */
.ll-quarry-enhanced {
    padding: 0.75rem;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 10px;
}

.ll-quarry-header {
    margin-bottom: 0.75rem;
}

.ll-quarry-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.ll-quarry-badge.safe {
    background: #dcfce7;
    color: #166534;
}

.ll-quarry-badge.warning {
    background: #ffedd5;
    color: #c2410c;
}

.ll-quarry-badge.danger {
    background: #fee2e2;
    color: #991b1b;
}

.ll-quarry-distance,
.ll-quarry-details {
    font-size: 0.8125rem;
    color: var(--ll-text-secondary);
    margin-bottom: 0.5rem;
}

.ll-quarry-impacts,
.ll-quarry-recommendations {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

.ll-quarry-impacts-title,
.ll-quarry-rec-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #78350f;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.ll-quarry-list {
    margin: 0;
    padding: 0 0 0 1rem;
    list-style-type: none;
}

.ll-quarry-list li {
    margin-bottom: 0.25rem;
    font-size: 0.8125rem;
    color: var(--ll-text-secondary);
    position: relative;
}

.ll-quarry-list li::before {
    content: "⚠️";
    position: absolute;
    left: -1.25rem;
    font-size: 0.7rem;
}

.ll-quarry-list.allowed li::before {
    content: "✓";
    color: #16a34a;
}

.ll-quarry-note {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: italic;
}

/* Property Tax & Water Tax Styles */
.ll-property-tax-enhanced,
.ll-water-tax-enhanced {
    padding: 0.75rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
}

.ll-tax-header {
    margin-bottom: 0.75rem;
}

.ll-tax-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.ll-tax-badge.gcc {
    background: #dbeafe;
    color: #1e40af;
}

.ll-tax-badge.cmwssb {
    background: #e0e7ff;
    color: #3730a3;
}

.ll-tax-details {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 0.75rem;
}

.ll-tax-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ll-tax-row:last-child {
    border-bottom: none;
}

.ll-tax-label {
    color: var(--ll-text-secondary);
}

.ll-tax-value {
    font-weight: 500;
    color: var(--ll-text-primary);
}

.ll-tax-dues {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.ll-tax-due-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
    font-size: 0.8125rem;
}

.ll-tax-due-row.warning {
    color: #b45309;
}

.ll-tax-due-row.danger {
    color: #dc2626;
}

.ll-tax-due-row.clear {
    color: #16a34a;
}

.ll-tax-due-row.total {
    border-top: 1px solid #e5e7eb;
    margin-top: 0.375rem;
    padding-top: 0.5rem;
    font-weight: 600;
    color: var(--ll-text-primary);
}

.ll-tax-amount {
    font-weight: 600;
}

.ll-tax-status-clear {
    color: #16a34a;
    font-weight: 600;
}

.ll-tax-note {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: italic;
}

.ll-tax-not-available {
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: #6b7280;
    text-align: center;
}

/* EB Connections Styles */
.ll-eb-enhanced {
    padding: 0.75rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
}

.ll-eb-header {
    margin-bottom: 0.75rem;
}

.ll-eb-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: #fef3c7;
    color: #92400e;
}

.ll-eb-counts {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.ll-eb-count {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    text-align: center;
}

.ll-eb-count.lt {
    border: 1px solid #bbf7d0;
}

.ll-eb-count.ht {
    border: 1px solid #fecaca;
}

.ll-eb-count-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ll-text-primary);
}

.ll-eb-count.lt .ll-eb-count-num {
    color: #16a34a;
}

.ll-eb-count.ht .ll-eb-count-num {
    color: #dc2626;
}

.ll-eb-count-label {
    font-size: 0.75rem;
    color: var(--ll-text-secondary);
    margin-top: 0.25rem;
}

.ll-eb-tariffs {
    margin-bottom: 0.75rem;
}

.ll-eb-tariffs-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ll-text-secondary);
    margin-bottom: 0.5rem;
}

.ll-eb-tariff-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.ll-eb-tariff-badge {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.ll-eb-tariff-badge.domestic {
    background: #dcfce7;
    color: #166534;
}

.ll-eb-tariff-badge.commercial {
    background: #dbeafe;
    color: #1e40af;
}

.ll-eb-tariff-badge.industrial {
    background: #fee2e2;
    color: #991b1b;
}

.ll-eb-usage {
    font-size: 0.8125rem;
    color: var(--ll-text-secondary);
    margin-bottom: 0.5rem;
}

.ll-eb-interpret {
    font-size: 0.8125rem;
    color: var(--ll-text-secondary);
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border-left: 3px solid #3b82f6;
}

.ll-eb-note {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: italic;
}

.ll-eb-not-available {
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: #6b7280;
    text-align: center;
}

/* Development Potential Section in Land Use */
.ll-landuse-devpotential {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
    border-radius: 8px;
    border: 1px solid #fcd34d;
}

.ll-devpotential-grid {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.ll-devpotential-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    text-align: center;
}

.ll-devpotential-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #92400e;
}

.ll-devpotential-label {
    font-size: 0.6875rem;
    color: #78350f;
    margin-top: 0.125rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Mobile responsive for new sections */
@media (max-width: 480px) {
    .ll-eb-counts {
        flex-direction: column;
        gap: 0.5rem;
    }

    .ll-eb-count {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.5rem 0.75rem;
    }

    .ll-eb-count-num {
        font-size: 1.25rem;
    }

    .ll-tax-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .ll-tax-due-row {
        flex-direction: row;
    }

    .ll-devpotential-grid {
        flex-direction: column;
        gap: 0.5rem;
    }

    .ll-devpotential-item {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.375rem 0.625rem;
    }

    .ll-devpotential-value {
        font-size: 1rem;
    }
}

/* Property Tax styles - matching standalone page */
.ll-pt-tax-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ll-pt-total-due {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #ff6725 0%, #ff8952 100%);
    border-radius: 8px;
}

.ll-pt-total-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ll-pt-total-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.ll-tax-owner-section {
    background: rgba(255, 255, 255, 0.7);
    padding: 0.625rem;
    border-radius: 6px;
    margin-bottom: 0.625rem;
    font-size: 0.8125rem;
}

.ll-tax-owner, .ll-tax-address {
    color: #374151;
    margin-bottom: 0.25rem;
}
.ll-tax-owner:last-child, .ll-tax-address:last-child { margin-bottom: 0; }

.ll-pt-tax-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.ll-pt-tax-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.625rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
}

.ll-pt-tax-item.highlight {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.ll-pt-tax-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.ll-pt-tax-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1f2937;
}

.ll-pt-tax-value.arrears {
    color: #dc2626;
}

/* Water Tax styles - matching standalone page */
.ll-wt-tax-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ll-wt-total-dues {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    border-radius: 8px;
}

.ll-wt-total-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ll-wt-total-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.ll-wt-demand-table {
    margin-bottom: 0.625rem;
    overflow-x: auto;
}

.ll-wt-demand-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
}

.ll-wt-demand-table th, .ll-wt-demand-table td {
    padding: 0.375rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ll-wt-demand-table th {
    background: rgba(0, 0, 0, 0.03);
    font-weight: 600;
    color: #374151;
}

.ll-wt-demand-table td {
    color: #1f2937;
}

.ll-wt-additional-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
}

.ll-wt-info-item {
    display: flex;
    flex-direction: column;
    padding: 0.375rem 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
}

.ll-wt-info-label {
    font-size: 0.625rem;
    color: #6b7280;
    margin-bottom: 0.125rem;
}

.ll-wt-info-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1f2937;
}

@media (max-width: 480px) {
    .ll-pt-tax-header,
    .ll-wt-tax-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ll-wt-additional-info {
        grid-template-columns: 1fr;
    }
}

/* ===== ZONE OVERLAY PANEL ===== */
.ll-zone-overlay-panel {
    background: var(--ll-card-bg);
    border-radius: var(--ll-card-radius);
    border: 1px solid var(--ll-card-border);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--ll-card-shadow);
}

.ll-zone-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.ll-zone-panel-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ll-zone-panel-title svg {
    width: 20px;
    height: 20px;
    color: var(--ll-brand-primary);
}

.ll-zone-panel-title h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ll-text-primary);
    margin: 0;
}

.ll-zone-panel-actions {
    display: flex;
    gap: 0.5rem;
}

.ll-zone-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #6b7280;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ll-zone-btn:hover {
    background: var(--ll-brand-primary);
    border-color: var(--ll-brand-primary);
    color: white;
}

.ll-zone-btn svg {
    width: 16px;
    height: 16px;
}

/* Zone Toggles */
.ll-zone-toggles {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ll-zone-toggle-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
    background: #f9fafb;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.ll-zone-toggle-item:hover {
    background: #f1f5f9;
    border-color: #e5e7eb;
}

.ll-zone-toggle-item.inactive {
    opacity: 0.5;
}

.ll-zone-toggle-item.inactive:hover {
    opacity: 0.7;
}

.ll-zone-toggle-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.ll-zone-toggle-name {
    flex: 1;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ll-text-primary);
}

.ll-zone-toggle-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    position: relative;
    background: white;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.ll-zone-toggle-checkbox:checked {
    background: var(--ll-brand-primary);
    border-color: var(--ll-brand-primary);
}

.ll-zone-toggle-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Results Map Container */
.ll-results-map-container {
    margin-top: 0.75rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.ll-results-map {
    height: 300px;
    width: 100%;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .ll-zone-overlay-panel {
        padding: 0.75rem;
    }

    .ll-zone-panel-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .ll-zone-toggle-item {
        padding: 0.5rem 0.625rem;
    }

    .ll-zone-toggle-name {
        font-size: 0.75rem;
    }
}

/* ============================================
   Certified Copy (CC) Button & Dialog Styles
   ============================================ */
/* Certified Copy actions container */
.ll-cc-actions {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.ll-cc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 10px;
    border: none;
    border-radius: 7px;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}
.ll-cc-btn svg {
    flex-shrink: 0;
}
.ll-cc-btn.new {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #c2410c;
    border: 1px solid #fdba74;
    box-shadow: 0 1px 2px rgba(194, 65, 12, 0.06);
}
.ll-cc-btn.new:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: white;
    border-color: #ea580c;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
    transform: translateY(-1px);
}
.ll-cc-btn.new:hover .ll-cc-credits {
    background: rgba(255,255,255,0.25);
    color: white;
}
.ll-cc-btn.new:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(234, 88, 12, 0.2);
}
.ll-cc-credits {
    background: #c2410c;
    color: white;
    font-size: 0.5625rem;
    padding: 1px 5px;
    border-radius: 4px;
    line-height: 1.3;
    font-weight: 700;
}
.ll-cc-btn.completed {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #15803d;
    border: 1px solid #86efac;
    box-shadow: 0 1px 2px rgba(22, 163, 74, 0.06);
}
.ll-cc-btn.completed:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    border-color: #16a34a;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
    transform: translateY(-1px);
}
.ll-cc-btn.completed:active {
    transform: translateY(0);
}
.ll-cc-btn.processing {
    background: #f8fafc;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    cursor: wait;
    pointer-events: auto;
}
.ll-cc-btn.failed {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
    border: 1px solid #fca5a5;
    box-shadow: 0 1px 2px rgba(220, 38, 38, 0.06);
}
.ll-cc-btn.failed:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-color: #dc2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    transform: translateY(-1px);
}
.ll-cc-btn.failed:active {
    transform: translateY(0);
}
.ll-cc-btn[data-tooltip] {
    position: relative;
}
.ll-cc-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    transform: scale(0.96);
    background: #1e293b;
    color: #f1f5f9;
    font-size: 0.625rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 5px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 50;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.ll-cc-btn[data-tooltip]:hover::after {
    opacity: 1;
    transform: scale(1);
}
.ll-cc-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #e2e8f0;
    border-top-color: #64748b;
    border-radius: 50%;
    animation: ll-cc-spin 0.8s linear infinite;
}
@keyframes ll-cc-spin {
    to { transform: rotate(360deg); }
}

/* CC Confirmation Dialog */
.ll-cc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ll-cc-overlay.active {
    opacity: 1;
    visibility: visible;
}
.ll-cc-dialog {
    background: #ffffff;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    padding: 2rem 2rem 1.75rem;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transform: scale(0.92) translateY(16px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.ll-cc-dialog::-webkit-scrollbar {
    width: 5px;
}
.ll-cc-dialog::-webkit-scrollbar-track {
    background: transparent;
}
.ll-cc-dialog::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
.ll-cc-overlay.active .ll-cc-dialog {
    transform: scale(1) translateY(0);
}
.ll-cc-dialog-close {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #999;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.ll-cc-dialog-close:hover {
    color: #1a1a1c;
    background: #f5f5f5;
}
.ll-cc-dialog-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 103, 37, 0.12), rgba(255, 103, 37, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #ff6725;
}
.ll-cc-dialog-icon.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(239, 68, 68, 0.04));
    color: #ef4444;
}
.ll-cc-dialog-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1c;
    margin: 0 0 0.5rem;
}
.ll-cc-dialog-doc {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #ff6725;
    background: rgba(255, 103, 37, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    letter-spacing: 0.02em;
}
.ll-cc-dialog-desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 1rem;
}
.ll-cc-dialog-cost {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1a1a1c;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.375rem 0.875rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}
.ll-cc-dialog-cost svg {
    color: #ff6725;
}
.ll-cc-dialog-confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1.25rem;
    background: linear-gradient(135deg, #FF6725, #e55a1f);
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.3);
}
.ll-cc-dialog-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 103, 37, 0.4);
}
.ll-cc-dialog-confirm:active {
    transform: translateY(0);
}
.ll-cc-dialog-cancel {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.625rem;
    background: transparent;
    border: none;
    color: #666;
    font-size: 0.8125rem;
    cursor: url(../../dashboard/images/icon/pointer.svg), pointer;
    transition: color 0.2s ease;
}
.ll-cc-dialog-cancel:hover {
    color: #1a1a1c;
}

/* CC Dialog States */
.ll-cc-state {
    animation: ccFadeIn 0.3s ease;
}
@keyframes ccFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.ll-cc-dialog-icon.success {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(22, 163, 74, 0.04));
    color: #16a34a;
}

/* Animated Loader */
.ll-cc-loader {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.5rem;
}
.ll-cc-loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid #f1f5f9;
    border-top-color: #ff6725;
    animation: ccSpin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.ll-cc-loader-ring-2 {
    inset: 8px;
    border-width: 2.5px;
    border-color: rgba(255, 103, 37, 0.08);
    border-top-color: rgba(255, 103, 37, 0.4);
    animation-duration: 1.8s;
    animation-direction: reverse;
}
@keyframes ccSpin {
    to { transform: rotate(360deg); }
}
.ll-cc-loader-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6725;
    animation: ccBreathe 2.4s ease-in-out infinite;
}
@keyframes ccBreathe {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.08); opacity: 1; }
}

/* Progress Bar */
.ll-cc-progress-bar {
    width: 100%;
    height: 5px;
    background: #f1f5f9;
    border-radius: 3px;
    margin: 1rem 0 0.75rem;
    overflow: hidden;
}
.ll-cc-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6725, #f59e0b, #ff6725);
    background-size: 200% 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
    animation: ccShimmer 2s linear infinite;
}
@keyframes ccShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.ll-cc-progress-status {
    font-size: 0.8125rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}
.ll-cc-progress-time {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0.375rem 0 0;
    line-height: 1.4;
}
