/* styles.css */
:root {
    --primary-color: #5e3449;
    --primary-light: #f4edf2;
    --primary-dark: #3f2331;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --error-color: #5e3449;
    --success-color: #28a745;
    --white-color: #fff;
    --body-bg-color: #f8fafa;
    --font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(10px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Custom Alert Popup Styles */
.custom-alert-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    direction: rtl;
    font-family: var(--font-family);
}

.custom-alert-popup.show {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.alert-content {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    border-top: 5px solid var(--primary-color);
    text-align: center;
}

.alert-icon {
    display: none; /* Hide the alert icon */
}

.alert-message {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.alert-close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
}

.alert-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Add a close button at the bottom for better mobile UX */
.alert-content::after {
    content: "إغلاق";
    display: block;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    width: fit-content;
}

.alert-content:hover::after {
    background-color: var(--primary-dark);
}

/* Phone field disabled styles */
.form-control:disabled,
.form-control[readonly] {
    background-color: #f8f9fa !important;
    border-color: #e9ecef !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

/* Date field should look normal even though readonly */
.form-control.date-field[readonly] {
    background-color: var(--white-color) !important;
    border-color: var(--border-color) !important;
    color: var(--text-color) !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

.phone-fields-section.verified .form-control {
    background-color: #f8f9fa !important;
    border-color: #28a745 !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
}

.verified-badge {
    color: #28a745 !important;
    font-weight: bold !important;
    font-size: 0.9rem !important;
}

/* Custom Flatpickr Styles for better Arabic display */
.flatpickr-calendar {
    font-family: var(--font-family) !important;
    direction: rtl !important;
    text-align: right !important;
}

.flatpickr-month {
    background-color: var(--primary-color) !important;
    color: white !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.flatpickr-current-month {
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: white !important;
}

.flatpickr-monthDropdown-months {
    background-color: transparent !important;
    color: white !important;
    border: none !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
}

.flatpickr-current-month .numInputWrapper {
    background-color: transparent !important;
    color: white !important;
    border: none !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
}

.flatpickr-current-month .numInputWrapper input {
    background-color: transparent !important;
    color: white !important;
    border: none !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    text-align: center !important;
}

.flatpickr-weekdays {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
    font-weight: bold !important;
}

.flatpickr-weekday {
    color: var(--primary-color) !important;
    font-weight: bold !important;
}

.flatpickr-day {
    color: var(--text-color) !important;
    border-radius: 50% !important;
    margin: 2px !important;
    width: 35px !important;
    height: 35px !important;
    line-height: 35px !important;
    text-align: center !important;
}

.flatpickr-day:hover {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
}

.flatpickr-day.selected {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.flatpickr-day.today {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
}

.flatpickr-day.disabled {
    color: var(--text-light) !important;
    background-color: transparent !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: white !important;
    fill: white !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--body-bg-color);
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.main-content {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

/* Light entrance for dynamic pricing block */
.order-summary {
    animation: fadeSlideIn 260ms ease-out;
}

/* Skeleton loader for pricing refresh */
.pricing-skeleton {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    background: linear-gradient(180deg, #fff, #fbfbfb);
    box-shadow: var(--box-shadow);
}
.pricing-skeleton-title {
    height: 18px;
    width: 45%;
    border-radius: 8px;
    margin-bottom: 14px;
    background: #eceff3;
    overflow: hidden;
    position: relative;
}
.pricing-skeleton-line {
    height: 14px;
    width: 100%;
    border-radius: 8px;
    margin: 10px 0;
    background: #eceff3;
    overflow: hidden;
    position: relative;
}
.pricing-skeleton-line.short { width: 70%; }
.pricing-skeleton-line.tiny { width: 50%; }
.pricing-skeleton-title::after,
.pricing-skeleton-line::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    animation: shimmer 900ms ease-in-out infinite;
}
@keyframes shimmer {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Progress Bar */
.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.progress-bar::before,
.progress-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background-color: #e9ecef;
    width: calc(50% - 100px); /* Adjust width to leave space for the label */
}

.progress-bar::before {
    left: 0;
}

.progress-bar::after {
    right: 0;
}

/* Step Styles */
.step {
    position: relative;
    z-index: 1;
}

.step-label {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: bold;
    background: var(--body-bg-color);
    padding: 0 1rem;
    transform: none; /* Reset transform */
}

.party-details-section {
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
}


.form-section {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    margin-bottom: 1rem; /* Reduced space between cards */
}

/* Improve anchor/scroll positioning so sections don't appear covered */
#party-info-section {
    scroll-margin-top: 110px;
}

.form-section h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
}

.form-control,
input[type="tel"],
input[type="number"],
input[type="text"],
input[type="date"],
select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    background-color: var(--white-color);
    color: var(--text-color);
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-height: 50px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 16px 12px;
    padding-left: 2.5rem;
}

/* Phone Input Group */
.phone-input-group {
    display: flex;
    gap: 0.5rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s;
    width: 100%;
}

.btn-primary:active:not(:disabled) {
    transform: translateY(1px);
}

.btn-outline {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(94, 52, 73, 0.35);
    background: rgba(94, 52, 73, 0.06);
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn-outline:hover {
    background: rgba(94, 52, 73, 0.10);
    border-color: rgba(94, 52, 73, 0.55);
}
.btn-outline:active {
    transform: translateY(1px);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-dark);
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#verifyPhone, #verifyOTP {
    flex-shrink: 0;
    width: auto;
    padding: 0.75rem 1.25rem;
}

/* Radio Button Styling */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.radio-group-vertical {
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: normal; /* Reset font weight for radio options */
}

.radio-label input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s;
    background-color: var(--white-color);
    flex-shrink: 0;
}

.radio-label input[type="radio"]:hover {
    border-color: var(--primary-color);
}

.radio-label input[type="radio"]:checked {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    box-shadow: inset 0 0 0 3px var(--white-color);
}

/* Info Note */
.info-note {
    background-color: var(--primary-light);
    border: 1px solid var(--primary-color);
    color: var(--primary-dark);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    text-align: right;
}

.info-note-list {
    margin: 0;
    padding: 0;
    list-style: disc;
    list-style-position: outside;
    /* Keep marker inside the box and align wrapped lines */
    padding-inline-start: 1.1rem;
}

.info-note-list li {
    padding: 0;
    line-height: 1.6;
}

.info-note-list li + li {
    margin-top: 0.35rem;
}

.info-note-list li::before {
    content: none;
}

.info-note-list li::marker {
    color: var(--primary-color);
    font-weight: 700;
}

/* Small helper note under fields */
.field-note {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.field-note strong {
    color: inherit;
    font-weight: 600;
}

/* Phone Verification Section */
.phone-status {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.verified-badge {
    color: var(--success-color);
    font-weight: 600;
}

.form-section.verified {
    background-color: #d4edda;
    border-color: var(--success-color);
}

.form-section.verified h3 {
    color: var(--success-color);
}

/* Order Summary (Sidebar) */
#payment-section {
    position: sticky;
    top: 2rem;
    z-index: 2;
}

/* Package features (مميزات الخدمة) – improved readability */
.package-features {
    background: linear-gradient(135deg, rgba(94, 52, 73, 0.05) 0%, rgba(94, 52, 73, 0.10) 100%);
    border: 1px solid rgba(94, 52, 73, 0.18);
    border-radius: 14px;
    padding: 1rem;
    margin: 1rem 0 1.25rem;
}

/* Collapsible header */
.features-collapsible {
    position: relative;
}

.features-collapsible > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--primary-color);
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    border-bottom: 2px solid rgba(94, 52, 73, 0.35);
    padding-bottom: 0.5rem;
}

.features-collapsible > summary::-webkit-details-marker {
    display: none;
}

.features-summary-sub {
    font-size: 0.82rem;
    color: rgba(0, 0, 0, 0.55);
    font-weight: 500;
}

.features-collapsible > summary::after {
    content: "▾";
    font-size: 1.05rem;
    line-height: 1;
    color: rgba(94, 52, 73, 0.85);
    transform: rotate(0deg);
    transition: transform 180ms ease;
    margin-right: 0.25rem;
}

.features-collapsible[open] > summary::after {
    transform: rotate(180deg);
}

@keyframes foldHintNudge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.features-collapsible > summary[data-hint="1"]::after {
    animation: foldHintNudge 900ms ease-in-out infinite;
}

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

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
}

.feature-card h5 {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Make text regular in "التصميم" and "الدعوة" blocks */
.features-grid .feature-card:nth-child(1) .features-list strong,
.features-grid .feature-card:nth-child(2) .features-list strong {
    font-weight: 400;
}

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

.features-list > li {
    position: relative;
    padding-right: 1.35rem;
    margin-bottom: 0.55rem;
    font-size: 0.80rem;
    color: var(--text-color);
    line-height: 1.55;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.features-list > li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.features-list > li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 0.05rem;
    color: var(--primary-color);
    font-weight: 800;
}

/* When party info is open, avoid sticky overlay on desktop */
body.party-info-open #payment-section {
    position: static;
    top: auto;
}

/* Mobile-friendly: disable sticky summary */
@media (max-width: 992px) {
    #payment-section {
        position: static;
        top: auto;
    }
}

.order-summary {
    background-color: var(--white-color);
    padding: 1rem 0;
}

.summary-details .summary-item,
.price-breakdown .price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.summary-details .summary-item span:first-child,
.price-breakdown .price-item span:first-child {
    color: var(--text-light);
}

.summary-details .summary-item span:last-child,
.price-breakdown .price-item span:last-child {
    font-weight: 600;
}

.price-breakdown {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.price-breakdown .price-item.total {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    border-top: 2px solid var(--primary-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.price-item.total span:first-child,
.price-item.total span:last-child {
    color: var(--primary-color);
}

/* Inline info icon + popover (used in features list) */
.features-list > li {
    position: relative;
}

.inline-info-btn {
    margin-right: 0.4rem;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(94, 52, 73, 0.25);
    background: rgba(94, 52, 73, 0.08);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.85rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    vertical-align: middle;
}

.inline-info {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.25rem;
}

.inline-info > summary {
    list-style: none;
}

.inline-info > summary::-webkit-details-marker {
    display: none;
}

.inline-info-btn:hover {
    background: rgba(94, 52, 73, 0.12);
}

.inline-info-popover {
    position: absolute;
    right: 1.5rem;
    top: calc(100% + 0.4rem);
    width: min(360px, calc(100vw - 3rem));
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    padding: 0.85rem 0.95rem;
    z-index: 50;
}

details.inline-info:not([open]) .inline-info-popover {
    display: none;
}

.inline-info-title {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.inline-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.inline-info-list li {
    position: relative;
    padding-right: 1.1rem;
    margin-bottom: 0.45rem;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.45;
}

.inline-info-list li:last-child {
    margin-bottom: 0;
}

.inline-info-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--primary-color);
}

@media (max-width: 480px) {
    .inline-info-popover {
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
    }
}

.payment-methods {
    margin-top: 1.5rem;
}

.payment-methods h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}

.payment-method {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background-color: var(--white-color);
}

.payment-logo {
    height: 24px;
    max-width: 40px;
    object-fit: contain;
}

.payment-note {
    background-color: var(--secondary-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-light);
    margin-top: 1.5rem;
}

.payment-note-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.payment-note-and {
    color: var(--text-light);
    font-weight: 600;
    padding: 0 0.25rem;
}

.form-navigation {
    margin-top: 1.5rem;
}

/* Error Messages */
.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .party-details-layout {
        grid-template-columns: 1fr;
    }

    .form-sidebar-column {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }

    .main-content {
        padding: 1rem;
    }

    .form-section {
        padding: 1rem;
    }

    .phone-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .phone-input-group button {
        width: 100%;
    }
}

/* ===========================
   Searchable City Dropdown Styles
   =========================== */
.city-dropdown-container {
    position: relative;
    width: 100%;
}

.city-search-wrapper {
    position: relative;
    width: 100%;
}

.city-search-input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    background-color: var(--white-color);
    font-family: var(--font-family);
}

.city-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(94, 52, 73, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    pointer-events: none;
    opacity: 0.5;
}

.city-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background-color: var(--white-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    margin-top: 4px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.city-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-family: var(--font-family);
}

.city-option:last-child {
    border-bottom: none;
}

.city-option:hover {
    background-color: rgba(94, 52, 73, 0.08);
}

.city-option.hidden {
    display: none;
}

.city-icon {
    font-size: 1.2rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.city-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.city-name-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

.country-name-text {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.2;
    opacity: 0.8;
}

.selected-city-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: #fff !important;
    background: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: var(--border-radius);
    position: relative;
}

.selected-city-display .city-name {
    flex: 1;
    font-weight: 500;
    color: #333 !important;
    font-family: var(--font-family);
}

.selected-city-display .city-icon {
    color: #666 !important;
}

.clear-city-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.clear-city-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333;
}

.no-results-message {
    padding: 16px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    background-color: var(--white-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-top: 4px;
    font-family: var(--font-family);
}

.no-results-message a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

/* Scrollbar styling for dropdown */
.city-dropdown-list::-webkit-scrollbar {
    width: 8px;
}

.city-dropdown-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.city-dropdown-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.city-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}