.lc-host-maps-page {
    max-width: 1180px;
    margin: 24px auto 40px;
    padding: 28px 24px 32px;
    color: var(--text, #C2C2C2);
    background: var(--dark, #0B1014);
    border: 1px solid rgba(226, 196, 142, 0.55);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.lc-host-maps-page__head {
    margin-bottom: 28px;
}

.lc-host-maps-title {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0;
    color: var(--primary, #E2C48E);
    font-size: clamp(24px, 3.2vw, 42px);
    line-height: 1.05;
    font-family: "DM Serif Display", serif;
    font-weight: 400;
}

.lc-host-maps-title__icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    perspective: 900px;
    filter: drop-shadow(0 10px 18px rgba(226, 196, 142, 0.18));
}

.lc-host-maps-title__icon svg {
    width: 100%;
    height: 100%;
    display: block;
    transform-origin: center center;
    transform-style: preserve-3d;
    animation: lc-pin-float 4.8s ease-in-out infinite, lc-pin-rotate 6.8s ease-in-out infinite;
}

.lc-host-maps-title__text {
    display: inline-block;
}

.lc-host-maps-page__head p {
    margin: 8px 0 0;
    color: #CFCFCF;
    font-size: 16px;
    line-height: 1.7;
}

.lc-host-maps-page__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lc-host-map-card {
    position: relative;
    background: linear-gradient(180deg, rgba(92, 92, 92, 0.96) 0%, rgba(78, 78, 78, 0.96) 100%);
    border: 1px solid rgba(226, 196, 142, 0.42);
    border-radius: 20px;
    padding: 22px;
    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.04) inset;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
    overflow: hidden;
}

.lc-host-map-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-18deg);
    pointer-events: none;
    transition: left 0.45s ease;
}

.lc-host-map-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 180, 0, 0.55);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 180, 0, 0.05) inset;
}

.lc-host-map-card:hover::before {
    left: 145%;
}

.lc-host-map-card__header {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(226, 196, 142, 0.2);
    transition: border-color 0.22s ease;
}

.lc-host-map-card:hover .lc-host-map-card__header {
    border-bottom-color: rgba(255, 180, 0, 0.34);
}
.lc-host-map-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--primary, #E2C48E);
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.2;
    transition: transform 0.22s ease, color 0.22s ease;
}

.lc-host-map-card:hover .lc-host-map-card__title {
    transform: translateX(2px);
    color: #F1D39A;
}

.lc-host-map-card__title i {
    font-size: 0;
    width: 26px;
    height: 26px;
    display: inline-block;
    flex: 0 0 26px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 4px 8px rgba(226, 196, 142, 0.18));
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='home' x1='10' y1='8' x2='54' y2='54' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0%25' stop-color='%23FF5A5F'/%3E%3Cstop offset='38%25' stop-color='%23FF7A59'/%3E%3Cstop offset='72%25' stop-color='%23FFB400'/%3E%3Cstop offset='100%25' stop-color='%237B61FF'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 28.5L32 12L52 28.5V49C52 50.657 50.657 52 49 52H15C13.343 52 12 50.657 12 49V28.5Z' fill='%23111820' stroke='url(%23home)' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M22 51V35H42V51' stroke='url(%23home)' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18 23L32 12L46 23' stroke='%23FFFFFF' stroke-opacity='0.24' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='43.5' cy='21.5' r='4.2' fill='url(%23home)'/%3E%3Ccircle cx='43.5' cy='21.5' r='1.5' fill='white' fill-opacity='0.85'/%3E%3C/svg%3E");
}

.lc-host-map-card__meta {
    color: var(--text-muted, #999);
    font-size: 14px;
}

.lc-host-map-card__body {
    padding: 0;
}

.lc-map-wrapper {
    margin-bottom: 20px;
}
.lc-map-block-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 12px;
    background: var(--dark, #0B1014);
    border: 1px solid rgba(226, 196, 142, 0.24);
    border-radius: 10px;
    color: var(--text, #C2C2C2);
    font-size: 13px;
    line-height: 1.45;
}

.lc-map-container {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--primary, #E2C48E);
    background: #1a1f24;
    z-index: 1;
}

.lc-map-address-info {
    background: var(--dark, #0B1014);
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.lc-map-address-text {
    flex: 2;
}

.lc-map-address-text i {
    font-size: 0;
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 3px 6px rgba(226, 196, 142, 0.16));
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='loc' x1='12' y1='8' x2='50' y2='54' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0%25' stop-color='%23FF5A5F'/%3E%3Cstop offset='40%25' stop-color='%23FF7A59'/%3E%3Cstop offset='70%25' stop-color='%23FFB400'/%3E%3Cstop offset='100%25' stop-color='%237B61FF'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M32 10C23.716 10 17 16.716 17 25C17 37.5 30.2 47.5 31.8 48.7C32.2 49 32.8 49 33.2 48.7C34.8 47.5 48 37.5 48 25C48 16.716 41.284 10 32 10Z' fill='%23111820' stroke='url(%23loc)' stroke-width='2.2'/%3E%3Ccircle cx='32' cy='25' r='4.2' fill='white' fill-opacity='0.82'/%3E%3C/svg%3E");
}

.lc-map-coords {
    font-family: monospace;
    font-size: 13px;
    color: var(--text-muted, #999);
}

.lc-map-actions {
    display: flex;
    gap: 10px;
}

.lc-btn {
    padding: 10px 20px;
    background: var(--primary, #E2C48E);
    color: var(--dark, #0B1014);
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 14px;
}

.lc-btn:hover {
    background: var(--primary-hover, #F8D189);
    transform: translateY(-2px);
}

.lc-btn-secondary {
    background: transparent;
    border: 2px solid var(--primary, #E2C48E);
    color: var(--primary, #E2C48E);
}

.lc-btn-secondary:hover {
    background: var(--primary, #E2C48E);
    color: var(--dark, #0B1014);
}

.lc-btn-small {
    padding: 6px 14px;
    font-size: 12px;
}

.lc-map-editor-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 196, 142, 0.3);
    display: none;
}

.lc-map-editor-form.active {
    display: block;
}

.lc-form-group {
    margin-bottom: 15px;
}

.lc-form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--primary, #E2C48E);
    font-weight: 500;
    font-size: 13px;
}

/* == Form fields: inputs == */
.lc-form-group input,
.lc-address-input,
.lc-city-input,
.lc-lat-input,
.lc-lng-input {
    width: 100%;
    padding: 10px 12px;
    background: var(--dark, #0B1014) !important;
    border: 1px solid rgba(226, 196, 142, 0.35) !important;
    border-radius: 8px;
    color: var(--text, #C2C2C2) !important;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lc-form-group input:focus,
.lc-address-input:focus,
.lc-city-input:focus,
.lc-lat-input:focus,
.lc-lng-input:focus {
    outline: none;
    border-color: var(--primary, #E2C48E) !important;
    box-shadow: 0 0 0 3px rgba(226, 196, 142, 0.18);
}

/* == Form fields: Pais select == */
.lc-country-select {
    width: 100%;
    padding: 10px 36px 10px 12px;
    background: var(--dark, #0B1014) !important;
    border: 1px solid rgba(226, 196, 142, 0.35) !important;
    border-radius: 8px;
    color: var(--text, #C2C2C2) !important;
    font-size: 14px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E2C48E' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 8px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lc-country-select:focus {
    outline: none;
    border-color: var(--primary, #E2C48E) !important;
    box-shadow: 0 0 0 3px rgba(226, 196, 142, 0.18);
}

.lc-country-select option {
    background: #0B1014;
    color: #C2C2C2;
}

.lc-coord-row {
    display: flex;
    gap: 15px;
}

.lc-coord-row .lc-form-group {
    flex: 1;
}

.lc-message {
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 13px;
}

.lc-message-success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.lc-message-error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.lc-message-info {
    background: rgba(226, 196, 142, 0.15);
    border: 1px solid rgba(226, 196, 142, 0.55);
    color: var(--primary, #E2C48E);
}

.lc-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--dark, #0B1014);
    border-top-color: transparent;
    border-radius: 50%;
    animation: lc-spin 0.6s linear infinite;
    margin-right: 8px;
}

@keyframes lc-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes lc-pin-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes lc-pin-rotate {
    0%, 100% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: rotateY(-10deg) rotateX(2deg);
    }
    50% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    75% {
        transform: rotateY(10deg) rotateX(-2deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lc-host-maps-title__icon svg {
        animation: none;
    }

    .lc-spinner {
        animation: none;
    }
}

@media (max-width: 768px) {
    .lc-host-maps-page {
        margin: 12px;
        padding: 16px;
    }

    .lc-host-maps-title {
        gap: 12px;
        font-size: clamp(20px, 6vw, 30px);
        line-height: 1.1;
    }

    .lc-host-maps-title__icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .lc-map-address-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .lc-map-actions {
        width: 100%;
    }

    .lc-map-actions .lc-btn {
        flex: 1;
        text-align: center;
    }

    .lc-coord-row {
        flex-direction: column;
        gap: 10px;
    }
}
/* Модальное окно для ввода ID */
#lc-property-id-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: flex-start; /* Изменено с center на flex-start */
    justify-content: center;
    padding-top: 15%; /* Добавлен отступ сверху */
}

.lc-modal-content {
    position: relative;
    z-index: 10002;
    background: var(--dark, #0B1014);
    border: 1px solid var(--primary, #E2C48E);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.lc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
}

.lc-modal-content {
    position: relative;
    z-index: 10002;
    background: var(--dark, #0B1014);
    border: 1px solid var(--primary, #E2C48E);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.lc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(226, 196, 142, 0.3);
}

.lc-modal-header h3 {
    margin: 0;
    color: var(--primary, #E2C48E);
    font-size: 18px;
}

.lc-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted, #999);
}

.lc-modal-close:hover {
    color: var(--primary, #E2C48E);
}

.lc-modal-body {
    padding: 20px;
}

.lc-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(226, 196, 142, 0.3);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 768px) {
    .lc-modal-content {
        width: 95%;
        margin: 20px;
    }
}