/* List Your Property — public multi-step flow */

.lyp-page {
    padding: 4rem 0 6rem;
    min-height: 80vh;
    background-color: #f9f8f6;
}

/* Header */
.lyp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.lyp-title { font-size: 2rem; font-weight: 700; color: #1a1a2e; margin: 0 0 0.25rem; }
.lyp-subtitle { color: #7a7a8a; font-size: 0.95rem; margin: 0; }
.lyp-lang-btn {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    color: #4a4a5a;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
}
.lyp-lang-btn:hover { border-color: #e8604c; color: #e8604c; }

/* Progress bar */
.lyp-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    max-width: 640px;
}
.lyp-progress__step {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #e8e8e8;
    color: #7a7a8a;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.lyp-progress__step--active { background: #e8604c; color: #fff; }
.lyp-progress__step--done { background: #22c55e; color: #fff; }
.lyp-progress__bar {
    height: 2px; flex: 1;
    background: #e8e8e8;
    transition: background 0.2s ease;
}
.lyp-progress__bar--done { background: #22c55e; }

/* Card / step */
.lyp-step { display: none; }
.lyp-step--active { display: block; }
.lyp-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    max-width: 720px;
}
.lyp-card--success, .lyp-card--error {
    text-align: center;
}
.lyp-step__heading { margin: 0 0 1.5rem; font-size: 1.5rem; font-weight: 700; color: #1a1a2e; }

/* Form */
.lyp-form-group { margin-bottom: 1.5rem; }
.lyp-label { display: block; font-size: 0.875rem; font-weight: 500; color: #4a4a5a; margin-bottom: 0.5rem; }
.lyp-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: #1a1a2e;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
}
.lyp-input:focus { outline: none; border-color: #e8604c; }
.lyp-input:disabled { background: #f9f8f6; color: #b0b0bc; }
.lyp-input--textarea { resize: vertical; min-height: 100px; }
.lyp-input--otp { font-size: 1.5rem; letter-spacing: 0.5rem; text-align: center; font-weight: 700; }

.lyp-phone-group { display: flex; gap: 0.5rem; }
.lyp-input--code { max-width: 90px; text-align: center; }
.lyp-input--phone { flex: 1; }

.lyp-hint { font-size: 0.8rem; color: #7a7a8a; margin: 0.5rem 0 0; }

.lyp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Buttons / actions */
.lyp-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.lyp-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.lyp-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.lyp-btn--primary { background: #e8604c; color: #fff; }
.lyp-btn--primary:hover:not(:disabled) { background: #d44935; }
.lyp-btn--ghost { background: transparent; border-color: #e8e8e8; color: #4a4a5a; }
.lyp-btn--ghost:hover:not(:disabled) { border-color: #e8604c; color: #e8604c; }
.lyp-btn--link { background: none; border: none; color: #e8604c; padding: 0.75rem 0.5rem; }
.lyp-btn--link:disabled { color: #b0b0bc; }

/* Map */
.lyp-map {
    width: 100%;
    height: 320px;
    background: #e8e8e8;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    color: #7a7a8a;
}
.lyp-map__placeholder { font-size: 0.9rem; }

/* Dropzone + media */
.lyp-dropzone {
    display: block;
    width: 100%;
    border: 2px dashed #e8e8e8;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #fafafa;
    margin-bottom: 1rem;
    box-sizing: border-box;
}
.lyp-dropzone:hover, .lyp-dropzone--active { border-color: #e8604c; background: #fef0ee; }
.lyp-dropzone__inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.lyp-dropzone__icon { font-size: 2rem; color: #e8604c; line-height: 1; }
.lyp-dropzone__text { color: #7a7a8a; font-size: 0.95rem; }

.lyp-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}
.lyp-media-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f8f6;
    border: 1px solid #e8e8e8;
}
.lyp-media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lyp-media-thumb__state {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}
.lyp-media-thumb__state--ok { background: rgba(34,197,94,0.9); }
.lyp-media-thumb__state--err { background: rgba(239,68,68,0.9); }

/* Success / error */
.lyp-success__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 2rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
}

/* Language modal */
.lyp-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lyp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}
.lyp-modal__content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
}
.lyp-modal__title { font-size: 1.5rem; font-weight: 700; color: #1a1a2e; margin: 0 0 1.5rem; }
.lyp-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.lyp-modal__btn {
    padding: 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    color: #1a1a2e;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.lyp-modal__btn:hover { border-color: #e8604c; background: #fef0ee; color: #e8604c; }
.lyp-modal__locale { font-size: 0.7rem; color: #7a7a8a; text-transform: uppercase; letter-spacing: 0.05em; }

/* Mobile */
@media (max-width: 640px) {
    .lyp-card { padding: 1.5rem; }
    .lyp-grid-2 { grid-template-columns: 1fr; }
    .lyp-actions { flex-direction: column-reverse; }
    .lyp-actions .lyp-btn { width: 100%; }
    .lyp-title { font-size: 1.5rem; }
}
