/**
 * Resort Filter Panel Styles
 * Slide-in filter panel with modern design
 */

/* ============================================
   Filter Toggle Bar (Results count display)
   ============================================ */
.filter-toggle-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

/* ============================================
   Floating Filter Button (FAB style)
   Fixed position in bottom-right corner
   ============================================ */
.filter-toggle-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.875rem;
    /* Gradient background matching site brand */
    background: linear-gradient(135deg, var(--color-forest-green) 0%, var(--color-forest-light) 100%);
    border: none;
    border-radius: 3rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 100;
    overflow: hidden;
    white-space: nowrap;
    /* Subtle shadow for depth */
    box-shadow:
        0 4px 15px rgba(47, 74, 60, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.15);
}

.filter-toggle-btn__label {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.25s ease, opacity 0.2s ease, margin-left 0.25s ease;
    margin-left: 0;
}

.filter-toggle-btn:hover .filter-toggle-btn__label {
    max-width: 6rem;
    opacity: 1;
    margin-left: 0.5rem;
}

.filter-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(47, 74, 60, 0.5),
        0 4px 10px rgba(0, 0, 0, 0.2);
}

.filter-toggle-btn:active {
    transform: translateY(0);
}

.filter-toggle-btn svg {
    width: 1.125rem;
    height: 1.125rem;
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* Filter count badge */
.filter-badge {
    position: absolute;
    top: -0.375rem;
    right: -0.375rem;
    min-width: 1.375rem;
    height: 1.375rem;
    padding: 0 0.375rem;
    background: #ef4444;
    border: 2px solid #ffffff;
    border-radius: 999px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Results count text (legacy, kept for backwards compat) */
.filter-results-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: inherit;
    opacity: 0.7;
}

/* ============================================
   Results Summary Bar
   Shows count of resorts above listings
   ============================================ */
.resorts-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.resorts-results-count {
    font-size: 0.9375rem;
    font-weight: 500;
    opacity: 0.8;
}

/* ============================================
   Filter Panel (Slide-in)
   Uses explicit dark theme for guaranteed high contrast
   ============================================ */
.filter-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    /* Dark forest background matching site brand */
    background: var(--color-forest-dark);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Force text color */
    color: #ffffff;
}

.filter-panel--open {
    transform: translateX(0);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

/* Backdrop when panel is open */
body.filter-panel-open {
    overflow: hidden;
}

body.filter-panel-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    animation: filterFadeIn 0.2s ease;
}

@keyframes filterFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   Panel Header
   ============================================ */
.filter-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    background: rgba(20, 35, 27, 0.95);
}

.filter-panel__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.filter-panel__close {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.filter-panel__close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* ============================================
   Panel Content
   ============================================ */
.filter-panel__content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

/* Filter Groups */
.filter-group {
    margin-bottom: 1.75rem;
}

.filter-group__title {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.875rem 0;
}

.filter-group__options {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Filter Subgroups */
.filter-subgroup {
    margin-bottom: 1rem;
}

.filter-subgroup__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-primary, var(--color-forest-light));
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

/* ============================================
   Checkbox Styles
   ============================================ */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.filter-checkbox:hover {
    background: rgba(255, 255, 255, 0.08);
}

.filter-checkbox input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--color-forest-light);
    cursor: pointer;
    flex-shrink: 0;
}

.filter-checkbox__label {
    flex: 1;
    font-size: 0.9375rem;
    color: #ffffff;
}

.filter-checkbox__count {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Rating Slider
   ============================================ */
.filter-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-rating input[type="range"] {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--color-surface, rgba(255, 255, 255, 0.1));
    border-radius: 2px;
    outline: none;
}

.filter-rating input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--color-primary, var(--color-forest-green));
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.filter-rating input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.filter-rating__display {
    min-width: 2.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #ffffff;
}

/* ============================================
   Select Dropdown
   ============================================ */
.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--color-forest-light);
    outline: none;
}

.filter-select option {
    background: var(--color-forest-dark);
    color: #ffffff;
}

/* ============================================
   Panel Footer
   ============================================ */
.filter-panel__footer {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    background: rgba(20, 35, 27, 0.95);
}

.filter-panel__clear {
    flex: 1;
    padding: 0.875rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-panel__clear:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.filter-panel__apply {
    flex: 1;
    padding: 0.875rem 1rem;
    background: var(--color-forest-green);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-panel__apply:hover {
    background: var(--color-forest-light);
}

/* ============================================
   Resort Card Hidden State
   ============================================ */
.resort-card--hidden {
    display: none !important;
}

.country-section--hidden {
    display: none !important;
}

/* ============================================
   Pagination
   ============================================ */
.resort-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 0;
    margin-top: 2rem;
}

.pagination__btn {
    padding: 0.625rem 1rem;
    background: #fff;
    border: 1px solid var(--color-birch-medium);
    border-radius: 0.5rem;
    color: var(--color-text-primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination__btn:hover:not(:disabled) {
    background: var(--color-cream);
    border-color: var(--color-forest-green);
}

.pagination__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination__pages {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination__page {
    min-width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination__page:hover {
    background: var(--color-cream);
    color: var(--color-text-primary);
}

.pagination__page--active {
    background: var(--color-forest-green);
    color: #fff;
    font-weight: 600;
}

.pagination__ellipsis {
    padding: 0 0.5rem;
    color: var(--color-text-light);
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 640px) {
    .filter-panel {
        max-width: 100%;
        border-left: none;
    }

    .filter-toggle-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .filter-toggle-btn {
        justify-content: center;
    }

    .pagination__btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }

    .pagination__page {
        min-width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
}

/* ============================================
   Location/Geo Filter Styles
   ============================================ */
.filter-location {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-location__input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.filter-location__input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease;
}

.filter-location__input:focus {
    border-color: var(--color-forest-light);
    outline: none;
}

.filter-location__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.filter-location__gps-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-location__gps-btn:hover:not(:disabled) {
    background: rgba(61, 93, 77, 0.2);
    border-color: var(--color-forest-light);
    color: var(--color-forest-light);
}

.filter-location__gps-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.filter-location__display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: rgba(61, 93, 77, 0.2);
    border: 1px solid rgba(61, 93, 77, 0.4);
    border-radius: 0.5rem;
}

.filter-location__address {
    flex: 1;
    font-size: 0.875rem;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-location__clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-location__clear-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.filter-location__loading {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 0;
}

.filter-location__error {
    font-size: 0.8125rem;
    color: #ef4444;
    padding: 0.5rem 0;
}

/* Geo Options (Radius & Driving Time) */
.filter-geo-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-geo-option {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.filter-geo-option label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Ensure geo select dropdowns match existing style */
.filter-geo-option .filter-select {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
}

/* Loading spinner animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.filter-location__loading::before {
    content: '';
    display: inline-block;
    width: 0.875rem;
    height: 0.875rem;
    margin-right: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--color-forest-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   Location Filter Button
   ============================================ */
.filter-location-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.filter-location-btn:hover {
    background: rgba(61, 93, 77, 0.2);
    border-color: rgba(61, 93, 77, 0.4);
    color: #ffffff;
}

.filter-location-btn svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Location Active State */
.filter-location-active {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(61, 93, 77, 0.2);
    border: 1px solid rgba(61, 93, 77, 0.4);
    border-radius: 0.5rem;
}

.filter-location-active__address {
    flex: 1;
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-location-active__filters {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.filter-location-active__edit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0.25rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-location-active__edit:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ============================================
   Location Modal
   ============================================ */
.location-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.location-modal--open {
    opacity: 1;
    visibility: visible;
}

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

.location-modal__content {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 1rem;
    background: var(--color-forest-dark);
    border-radius: 0.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.2s ease;
}

.location-modal--open .location-modal__content {
    transform: translateY(0);
}

.location-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.location-modal__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.location-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.location-modal__close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.location-modal__body {
    padding: 1.5rem;
}

.location-modal__search {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.location-modal__label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.location-modal__input-group {
    display: flex;
    gap: 0.5rem;
}

.location-modal__input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease;
}

.location-modal__input:focus {
    border-color: var(--color-forest-light);
    outline: none;
}

.location-modal__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.location-modal__search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    padding: 0;
    background: var(--color-forest-green);
    border: none;
    border-radius: 0.5rem;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.location-modal__search-btn:hover {
    background: var(--color-forest-light);
}

.location-modal__gps-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.location-modal__gps-btn:hover {
    background: rgba(61, 93, 77, 0.2);
    border-color: rgba(61, 93, 77, 0.4);
    color: #ffffff;
}

.location-modal__gps-btn svg {
    flex-shrink: 0;
}

.location-modal__result {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.875rem;
}

.location-modal__result svg {
    color: #22c55e;
    flex-shrink: 0;
}

.location-modal__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.location-modal__spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--color-forest-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.location-modal__error {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.5rem;
    color: #ef4444;
    font-size: 0.875rem;
}

.location-modal__options {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-modal__option {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.location-modal__option label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.location-modal__select {
    width: 100%;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.location-modal__select:hover,
.location-modal__select:focus {
    border-color: var(--color-forest-light);
    outline: none;
}

.location-modal__select option {
    background: var(--color-forest-dark);
    color: #ffffff;
}

.location-modal__footer {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.location-modal__clear-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.location-modal__clear-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.location-modal__apply-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--color-forest-green);
    border: none;
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.location-modal__apply-btn:hover:not(:disabled) {
    background: var(--color-forest-light);
}

.location-modal__apply-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
