/* ─── Urantia Web Pro CSS ─────────────────────────── */

/* Property cards */
.property-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e5e7eb;
}
.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}
.property-card--nodisponible {
    opacity: .55;
}
.property-card--nodisponible .property-img,
.property-card--nodisponible .property-img-placeholder {
    filter: grayscale(1);
}
.property-img {
    height: 220px;
    object-fit: cover;
}
.property-img-placeholder {
    height: 220px;
}

/* Sidebar panel — now in base_panel.html inline styles */

/* Hero */
.hero-section {
    background-size: cover;
    background-position: center;
}

/* Responsive sidebar — now handled in base_panel.html */

/* Carousel thumbnails */
.thumb-img {
    opacity: 0.6;
    transition: opacity 0.2s;
}
.thumb-img:hover {
    opacity: 1;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Badge overrides */
.badge {
    font-weight: 500;
}

/* Card footer */
.card-footer {
    font-size: 0.85rem;
}

/* ─── Flash / Toast ─── */
.flash-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
.toast-uwp {
    pointer-events: auto;
    min-width: 320px;
    max-width: 460px;
    padding: 0;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: relative;
    animation: toast-slide-in .4s cubic-bezier(.21,1.02,.73,1) forwards;
    transform: translateX(120%);
}
.toast-uwp.toast-hiding {
    animation: toast-slide-out .35s ease forwards;
}
@keyframes toast-slide-in {
    from { transform: translateX(120%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}
@keyframes toast-slide-out {
    from { transform: translateX(0);    opacity: 1; }
    to   { transform: translateX(120%); opacity: 0; }
}
.toast-uwp::before {
    content: '';
    width: 5px;
    flex-shrink: 0;
    border-radius: 12px 0 0 12px;
}
.toast-uwp.success::before { background: #16a34a; }
.toast-uwp.danger::before  { background: #dc2626; }
.toast-uwp.warning::before { background: #d97706; }
.toast-uwp.info::before    { background: #2563eb; }
.toast-uwp .toast-body {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    flex: 1;
    min-width: 0;
}
.toast-uwp .toast-ico {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.toast-uwp.success .toast-ico { background: #f0fdf4; color: #16a34a; }
.toast-uwp.danger .toast-ico  { background: #fef2f2; color: #dc2626; }
.toast-uwp.warning .toast-ico { background: #fffbeb; color: #d97706; }
.toast-uwp.info .toast-ico    { background: #eff6ff; color: #2563eb; }
.toast-uwp .toast-msg {
    flex: 1;
    font-size: .88rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.4;
    word-break: break-word;
}
.toast-uwp .toast-close {
    background: none; border: none; cursor: pointer;
    color: #9ca3af; font-size: 1.1rem;
    padding: 8px 12px;
    align-self: flex-start;
    transition: color .15s;
    flex-shrink: 0;
}
.toast-uwp .toast-close:hover { color: #374151; }
.toast-uwp .toast-progress {
    position: absolute;
    bottom: 0; left: 5px; right: 0;
    height: 3px;
    background: #e5e7eb;
    overflow: hidden;
}
.toast-uwp .toast-progress::after {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: left;
    animation: toast-countdown 3.5s linear forwards;
}
.toast-uwp.success .toast-progress::after { background: #16a34a; }
.toast-uwp.danger .toast-progress::after  { background: #dc2626; }
.toast-uwp.warning .toast-progress::after { background: #d97706; }
.toast-uwp.info .toast-progress::after    { background: #2563eb; }
@keyframes toast-countdown {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}
@media (max-width: 576px) {
    .flash-container { right: 12px; left: 12px; top: 70px; }
    .toast-uwp { min-width: 0; max-width: 100%; }
}

/* ─── Global Responsive ─── */

/* ─── Mis Propiedades (Panel) ─── */
.mp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: .75rem 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
.mp-header-left { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.mp-count { display: flex; align-items: baseline; gap: 2px; }
.mp-count-current { font-size: 1.5rem; font-weight: 700; color: #1e293b; line-height: 1; }
.mp-count-sep { font-size: .9rem; color: #94a3b8; margin: 0 1px; }
.mp-count-limit { font-size: .9rem; color: #94a3b8; font-weight: 500; }
.mp-plan-info { display: flex; flex-direction: column; font-size: .75rem; line-height: 1.3; }
.mp-plan-badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #2563eb;
    background: #eff6ff;
    padding: 1px 8px;
    border-radius: 4px;
    width: fit-content;
}
.mp-progress { width: 120px; height: 4px; background: #e2e8f0; border-radius: 4px; overflow: hidden; }
.mp-progress-bar { height: 100%; background: #2563eb; border-radius: 4px; transition: width .3s; }
.mp-progress-bar.mp-progress-danger { background: #dc2626; }
.mp-btn-new { border-radius: 8px; font-weight: 600; font-size: .8rem; padding: .45rem 1rem; white-space: nowrap; }

.mp-grid { --bs-gutter-x: .6rem; --bs-gutter-y: .6rem; }

.mp-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.mp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.mp-card-inactive { opacity: .6; }
.mp-card-nodisponible { opacity: .5; }
.mp-card-nodisponible .mp-card-img { filter: grayscale(1); }

.mp-card-img-wrap {
    position: relative;
    overflow: hidden;
}
.mp-card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.mp-card:hover .mp-card-img { transform: scale(1.04); }
.mp-card-img-placeholder {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #cbd5e1;
    font-size: 2rem;
}

.mp-card-badges {
    position: absolute;
    top: 6px; left: 6px;
    display: flex;
    gap: 4px;
    z-index: 2;
}
.mp-badge-op {
    font-size: .65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.mp-badge-venta { background: #16a34a; }
.mp-badge-arriendo { background: #2563eb; }
.mp-badge-star {
    width: 22px; height: 22px;
    border-radius: 4px;
    background: #f59e0b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
}
.mp-badge-inactive {
    position: absolute;
    bottom: 6px; left: 6px;
    font-size: .6rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0,0,0,.55);
    color: #fff;
    backdrop-filter: blur(4px);
}
.mp-badge-nodisponible {
    position: absolute;
    bottom: 6px; left: 6px;
    font-size: .6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(220, 38, 38, .85);
    color: #fff;
    backdrop-filter: blur(4px);
    letter-spacing: .3px;
    text-transform: uppercase;
}

.mp-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 1;
}
.mp-card:hover .mp-card-overlay { opacity: 1; }
.mp-overlay-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,.95);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    text-decoration: none;
    transition: transform .15s, background .15s;
}
.mp-overlay-btn:hover { transform: scale(1.1); background: #fff; color: #2563eb; }

.mp-card-body {
    padding: .65rem .7rem .6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.mp-card-price {
    font-size: .85rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1.2;
    margin-bottom: 2px;
}
.mp-card-price-alt {
    display: block;
    font-size: .7rem;
    font-weight: 500;
    color: #64748b;
}
.mp-card-title {
    font-size: .78rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mp-card-meta {
    display: flex;
    gap: 8px;
    font-size: .68rem;
    color: #94a3b8;
    margin-bottom: 6px;
}
.mp-card-meta i { font-size: .6rem; }

.mp-card-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid #f1f5f9;
}
.mp-action-btn {
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: .7rem;
    font-weight: 500;
    padding: 3px 8px;
    transition: all .15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}
.mp-action-edit {
    background: #eff6ff;
    color: #2563eb;
    flex: 1;
    justify-content: center;
}
.mp-action-edit:hover { background: #dbeafe; color: #1d4ed8; }
.mp-action-star { color: #d4d4d8; }
.mp-action-star:hover { color: #f59e0b; }
.mp-action-star-active { color: #f59e0b; }
.mp-action-star-active:hover { color: #d97706; }
.mp-action-disponible { color: #10b981; }
.mp-action-disponible:hover { color: #dc2626; background: #fef2f2; }
.mp-action-nodisponible { color: #dc2626; }
.mp-action-nodisponible:hover { color: #10b981; background: #f0fdf4; }
.mp-action-views {
    font-size: .65rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px 4px;
}
.mp-action-delete { color: #d4d4d8; }
.mp-action-delete:hover { color: #ef4444; background: #fef2f2; }

/* Mis Propiedades mobile */
@media (max-width: 575.98px) {
    .mp-header { flex-direction: column; gap: .5rem; align-items: stretch; text-align: center; }
    .mp-header-left { justify-content: center; }
    .mp-progress { margin: 0 auto; }
    .mp-btn-new { align-self: center; }
    .mp-card-img, .mp-card-img-placeholder { height: 130px; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
    .mp-card-img, .mp-card-img-placeholder { height: 140px; }
}

/* ─── Global Responsive (legacy) ─── */

/* Panel: prevent horizontal overflow on mobile */
.panel-main { overflow-x: hidden; }
.panel-main .p-4 { overflow-x: hidden; }

/* Tables: responsive wrapper */
.table-responsive-mobile {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive-mobile > .table {
    min-width: 600px;
}

@media (max-width: 767.98px) {
    /* Panel topbar compact */
    .panel-topbar { padding: .5rem .75rem; }
    .panel-topbar h5 { font-size: .95rem; }

    /* Panel inner padding */
    .panel-main .p-4 { padding: 1rem !important; }

    /* Dashboard stats: 2-col grid */
    .dashboard-stats .col-lg { flex: 0 0 50%; max-width: 50%; }

    /* Card body padding */
    .card-body { padding: .75rem; }

    /* Quick actions: stack on small */
    .d-flex.gap-2.mb-4 { flex-wrap: wrap; }
    .d-flex.gap-2.mb-4 > .btn { flex: 1 1 auto; font-size: .85rem; }

    /* Property card actions: wrap */
    .property-card .d-flex.gap-1 { flex-wrap: wrap; }

    /* Vitrina search-box */
    .search-box { padding: 1rem; margin-top: -1rem; border-radius: 12px; }
    .search-box .row.g-2 > div { flex: 0 0 100%; max-width: 100%; }

    /* Admin toolbar: allow wrap */
    .admin-toolbar .toolbar-actions { gap: .35rem; }
    .admin-toolbar .btn-tool { padding: .25rem .5rem; font-size: .7rem; }

    /* Results header stack */
    .results-header { flex-direction: column; align-items: stretch; }

    /* Property cards: half width on phones */
    .property-card .property-img { height: 160px; }

    /* Feature cards on detalle */
    .feature-card { padding: .6rem .4rem; }
    .feature-card .feature-value { font-size: .95rem; }
    .feature-card .feature-label { font-size: .6rem; }

    /* Contact section */
    .contact-section { padding-top: 2rem !important; padding-bottom: 2rem !important; }

    /* Gallery on detalle */
    .gallery-main .carousel-item img { height: 240px; }

    /* Price tag */
    .price-tag .price-main { font-size: 1.4rem; }

    /* Map */
    #mapa { height: 280px !important; }

    /* Info panel */
    .info-panel { padding: 1rem; }

    /* Broker card */
    .broker-card .p-3 { padding: .75rem !important; }

    /* Edit toolbar */
    .edit-toolbar { flex-direction: column; gap: .5rem; text-align: center; }

    /* Home hero */
    .hero-title { font-size: 2rem !important; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .hero-stat-number { font-size: 1.5rem; }
    .btn-hero { padding: 10px 24px; font-size: .9rem; }

    /* Footer compact */
    footer .row { text-align: center; }
    footer .text-md-end { text-align: center !important; }
}

@media (max-width: 400px) {
    /* Very small screens */
    .stat-pills { gap: .3rem; }
    .stat-pill { padding: .2rem .5rem; font-size: .7rem; }

    .property-card .property-img { height: 140px; }

    .hero-title { font-size: 1.6rem !important; }
    .hero-stats { gap: 1rem; }
}

/* ─── Offcanvas-style Vitrina mobile menu ─── */
@media (max-width: 991.98px) {
    .vitrina-offcanvas {
        position: fixed !important;
        top: 0; right: 0; bottom: 0;
        width: 260px;
        max-width: 80vw;
        background: #fff;
        box-shadow: -8px 0 30px rgba(0,0,0,.12);
        z-index: 1050;
        transform: translateX(100%);
        transition: transform .3s cubic-bezier(.4,0,.2,1);
        overflow-y: auto;
        padding: 0;
        display: flex !important;
        flex-direction: column;
    }
    .vitrina-offcanvas.show {
        transform: translateX(0);
    }
    .offcanvas-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: .75rem 1rem;
        border-bottom: 1px solid #f1f5f9;
        background: #fafbfc;
    }
    .offcanvas-header .btn-close-menu {
        background: none;
        border: none;
        font-size: 1.2rem;
        color: #94a3b8;
        cursor: pointer;
        padding: .25rem;
        line-height: 1;
        border-radius: 6px;
        transition: all .15s;
    }
    .offcanvas-header .btn-close-menu:hover {
        color: #1e293b;
        background: #f1f5f9;
    }
    .offcanvas-nav {
        display: flex;
        flex-direction: column;
        padding: .5rem;
    }
    .offcanvas-nav-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: .6rem .75rem;
        border-radius: 8px;
        color: #334155;
        text-decoration: none;
        font-size: .88rem;
        font-weight: 500;
        transition: all .15s;
    }
    .offcanvas-nav-link i {
        font-size: .95rem;
        width: 20px;
        text-align: center;
        color: #94a3b8;
    }
    .offcanvas-nav-link:hover, .offcanvas-nav-link:active {
        background: #f1f5f9;
        color: #0f172a;
    }
    .offcanvas-nav-link:hover i { color: var(--v-primary, #2563eb); }

    .offcanvas-social {
        margin-top: auto;
        padding: .75rem 1rem;
        border-top: 1px solid #f1f5f9;
        display: flex;
        flex-direction: column;
        gap: .6rem;
    }
    .offcanvas-phone {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #334155;
        text-decoration: none;
        font-size: .8rem;
        font-weight: 500;
        padding: .45rem .7rem;
        background: #f8fafc;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        transition: all .15s;
    }
    .offcanvas-phone i { color: var(--v-primary, #2563eb); font-size: .85rem; }
    .offcanvas-phone:hover { background: #f1f5f9; color: #0f172a; }

    .offcanvas-social-icons {
        display: flex;
        gap: 8px;
        justify-content: center;
    }
    .offcanvas-social-icon {
        width: 36px; height: 36px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .95rem;
        text-decoration: none;
        transition: transform .15s, opacity .15s;
        opacity: .85;
    }
    .offcanvas-social-icon:hover {
        transform: scale(1.1);
        opacity: 1;
    }

    .offcanvas-backdrop-menu {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        backdrop-filter: blur(2px);
        z-index: 1045;
        display: none;
    }
    .offcanvas-backdrop-menu.show {
        display: block;
    }
}

/* ─── Dashboard (Panel) ─── */
.db-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.db-welcome::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}
.db-welcome::after {
    content: '';
    position: absolute;
    bottom: -60%;
    right: 15%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(37,99,235,.15);
    pointer-events: none;
}
.db-welcome-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 .25rem;
    letter-spacing: -.01em;
}
.db-welcome-sub {
    font-size: .85rem;
    color: rgba(255,255,255,.6);
    margin: 0;
}
.db-welcome-actions {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.db-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .55rem 1.1rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.db-btn-primary:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,.35);
}
.db-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .55rem 1.1rem;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.85);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}
.db-btn-secondary:hover {
    background: rgba(255,255,255,.18);
    color: #fff;
    border-color: rgba(255,255,255,.25);
}

/* Stats grid */
.db-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .75rem;
    margin-bottom: 1.75rem;
}
.db-stat-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 1.15rem 1rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all .25s ease;
    text-decoration: none;
    color: inherit;
}
.db-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    border-color: #d1d5db;
}
.db-stat-card--link:hover {
    border-color: #fbbf24;
}
.db-stat-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.db-stat-accent--blue { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.db-stat-accent--green { background: linear-gradient(90deg, #16a34a, #4ade80); }
.db-stat-accent--cyan { background: linear-gradient(90deg, #0891b2, #22d3ee); }
.db-stat-accent--amber { background: linear-gradient(90deg, #d97706, #fbbf24); }
.db-stat-accent--slate { background: linear-gradient(90deg, #475569, #94a3b8); }

.db-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.db-stat-icon--blue { background: #eff6ff; color: #2563eb; }
.db-stat-icon--green { background: #f0fdf4; color: #16a34a; }
.db-stat-icon--cyan { background: #ecfeff; color: #0891b2; }
.db-stat-icon--amber { background: #fffbeb; color: #d97706; }
.db-stat-icon--slate { background: #f1f5f9; color: #475569; }

.db-stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.db-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.db-stat-separator {
    font-size: .85rem;
    font-weight: 400;
    color: #94a3b8;
    margin: 0 1px;
}
.db-stat-label {
    font-size: .72rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 2px;
}

.db-stat-pulse {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    animation: db-pulse 2s infinite;
}
@keyframes db-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245,158,11,.4); }
    50% { opacity: .8; box-shadow: 0 0 0 6px rgba(245,158,11,0); }
}

/* Section */
.db-section {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}
.db-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}
.db-section-title {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.db-section-title i {
    font-size: 1rem;
    color: #94a3b8;
}
.db-section-title h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.db-link-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .78rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    padding: .35rem .75rem;
    border-radius: 8px;
    transition: all .15s;
}
.db-link-all:hover {
    background: #eff6ff;
    color: #1d4ed8;
}
.db-link-all i { font-size: .7rem; transition: transform .15s; }
.db-link-all:hover i { transform: translateX(2px); }

/* Property rows */
.db-prop-list {
    display: flex;
    flex-direction: column;
}
.db-prop-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f8fafc;
    transition: background .15s;
}
.db-prop-row:last-child { border-bottom: none; }
.db-prop-row:hover {
    background: #f8fafc;
}

.db-prop-img-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
}
.db-prop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.db-prop-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #cbd5e1;
    font-size: 1.1rem;
}

.db-prop-info {
    flex: 1;
    min-width: 0;
}
.db-prop-title {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 3px;
}
.db-prop-row:hover .db-prop-title { color: #2563eb; }
.db-prop-chips {
    display: flex;
    gap: 4px;
}
.db-chip {
    font-size: .62rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.db-chip--type { background: #f1f5f9; color: #64748b; }
.db-chip--venta { background: #f0fdf4; color: #16a34a; }
.db-chip--arriendo { background: #eff6ff; color: #2563eb; }

.db-prop-price {
    font-size: .85rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    min-width: 110px;
    text-align: right;
}

.db-prop-status {
    min-width: 80px;
    text-align: center;
}
.db-status {
    font-size: .68rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
}
.db-status i { font-size: .35rem; }
.db-status--active { background: #f0fdf4; color: #16a34a; }
.db-status--inactive { background: #f1f5f9; color: #94a3b8; }

.db-prop-arrow {
    color: #d1d5db;
    font-size: .75rem;
    flex-shrink: 0;
    transition: all .15s;
}
.db-prop-row:hover .db-prop-arrow { color: #2563eb; transform: translateX(2px); }

/* Empty state */
.db-empty {
    text-align: center;
    padding: 3rem 1rem;
}
.db-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto .75rem;
}
.db-empty p {
    font-size: .88rem;
    color: #64748b;
    margin-bottom: 1rem;
}

/* Dashboard mobile responsive */
@media (max-width: 991.98px) {
    .db-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767.98px) {
    .db-welcome {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.15rem 1.25rem;
    }
    .db-welcome-title { font-size: 1.15rem; }
    .db-welcome-actions { width: 100%; }
    .db-btn-primary, .db-btn-secondary { flex: 1; justify-content: center; font-size: .78rem; padding: .5rem .75rem; }

    .db-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: .5rem;
    }
    .db-stat-card { padding: .85rem .75rem; gap: .6rem; }
    .db-stat-icon { width: 38px; height: 38px; font-size: 1rem; }
    .db-stat-number { font-size: 1.25rem; }

    .db-prop-row { gap: .65rem; padding: .65rem .85rem; }
    .db-prop-price { display: none; }
    .db-prop-status { display: none; }
    .db-prop-title { font-size: .8rem; }
}
@media (max-width: 400px) {
    .db-stats {
        grid-template-columns: 1fr 1fr;
    }
    .db-stat-card:last-child {
        grid-column: span 2;
    }
}

/* ─── Property Form (Panel) ─── */
.pf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.1rem 1.4rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}
.pf-header-left {
    display: flex;
    align-items: center;
    gap: .85rem;
}
.pf-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.pf-header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}
.pf-header-sub {
    font-size: .78rem;
    color: #64748b;
    margin: 2px 0 0;
}
.pf-header-actions {
    display: flex;
    gap: .5rem;
}
.pf-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .45rem .9rem;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}
.pf-btn-ghost:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Sections */
.pf-section {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    overflow: hidden;
}
.pf-section-head {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .85rem 1.15rem;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbfc;
}
.pf-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}
.pf-section-icon--blue { background: #eff6ff; color: #2563eb; }
.pf-section-icon--cyan { background: #ecfeff; color: #0891b2; }
.pf-section-icon--green { background: #f0fdf4; color: #16a34a; }
.pf-section-icon--amber { background: #fffbeb; color: #d97706; }
.pf-section-icon--purple { background: #f5f3ff; color: #7c3aed; }
.pf-section-title {
    font-size: .88rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    flex: 1;
}
.pf-section-badge {
    font-size: .62rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.pf-section-body {
    padding: 1.1rem 1.15rem;
}

/* Labels & inputs */
.pf-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .35rem;
}
.pf-required {
    color: #ef4444;
}
.pf-input {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: .85rem;
    padding: .5rem .75rem;
    transition: all .15s;
}
.pf-input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
.pf-input::placeholder {
    color: #cbd5e1;
}

/* Features grid */
.pf-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}
.pf-feature-item {
    text-align: center;
    padding: .75rem .5rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    transition: all .15s;
}
.pf-feature-item:hover {
    border-color: #e2e8f0;
    background: #fff;
}
.pf-feature-icon {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: .35rem;
}
.pf-feature-item .pf-label {
    text-align: center;
    font-size: .7rem;
    color: #64748b;
    margin-bottom: .4rem;
}
.pf-feature-item .pf-input {
    text-align: center;
    font-weight: 600;
    padding: .4rem .5rem;
}

/* Map */
.pf-map-wrap { }
.pf-map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .5rem;
}
.pf-btn-map {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .4rem .85rem;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}
.pf-btn-map:hover {
    background: #dbeafe;
    color: #1d4ed8;
}
.pf-map {
    height: 340px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
.pf-map-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    color: #94a3b8;
    margin-top: .4rem;
}
.pf-map-hint i { font-size: .7rem; }

/* Location type selector */
.pf-location-options {
    display: flex;
    gap: .5rem;
}
.pf-location-opt {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem .85rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
    background: #fff;
}
.pf-location-opt:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.pf-location-opt--active {
    border-color: #2563eb;
    background: #eff6ff;
}
.pf-location-opt--active:hover {
    background: #eff6ff;
    border-color: #2563eb;
}
.pf-location-opt-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
}
.pf-location-opt-icon--green { background: #f0fdf4; color: #16a34a; }
.pf-location-opt-icon--blue { background: #eff6ff; color: #2563eb; }
.pf-location-opt strong {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}
.pf-location-opt small {
    display: block;
    font-size: .68rem;
    color: #94a3b8;
    margin-top: 1px;
}

/* Sidebar sticky */
.pf-sidebar-sticky {
    position: sticky;
    top: 80px;
}
.pf-section--sidebar .pf-section-body {
    padding: 1rem;
}

/* Toggle rows */
.pf-toggle-row {
    margin-bottom: .6rem;
}
.pf-toggle {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .6rem .75rem;
    background: #f8fafc;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #f1f5f9;
    transition: all .15s;
}
.pf-toggle:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}
.pf-toggle .form-check-input {
    flex-shrink: 0;
    margin: 0;
}
.pf-toggle-info {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 500;
    color: #334155;
}
.pf-toggle-star { color: #f59e0b; font-size: .85rem; }
.pf-toggle-eye { color: #2563eb; font-size: .85rem; }

/* Submit area */
.pf-submit-area {
    margin-top: .75rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.pf-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: .7rem 1rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}
.pf-btn-submit:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 4px 14px rgba(37,99,235,.35);
    transform: translateY(-1px);
}
.pf-btn-cancel {
    display: block;
    text-align: center;
    padding: .55rem 1rem;
    color: #64748b;
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all .15s;
}
.pf-btn-cancel:hover {
    background: #f1f5f9;
    color: #334155;
}

/* Upload area */
.pf-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 1.25rem 1rem;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all .2s;
    background: #fafbfc;
    margin-bottom: .75rem;
}
.pf-upload-area:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}
.pf-upload-area i {
    font-size: 1.5rem;
    color: #94a3b8;
}
.pf-upload-area:hover i { color: #2563eb; }
.pf-upload-area span {
    font-size: .8rem;
    font-weight: 600;
    color: #475569;
}
.pf-upload-area small {
    font-size: .68rem;
    color: #94a3b8;
}

/* Image grid */
.pf-img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .4rem;
}
.pf-img-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 2px solid transparent;
    transition: all .15s;
}
.pf-img-item--principal {
    border-color: #2563eb;
}
.pf-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pf-img-badge-principal {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .55rem;
}
.pf-img-btn {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    cursor: pointer;
    transition: all .15s;
    opacity: 0;
    padding: 0;
}
.pf-img-item:hover .pf-img-btn { opacity: 1; }
.pf-img-btn--star {
    bottom: 4px;
    left: 4px;
    background: rgba(255,255,255,.9);
    color: #f59e0b;
}
.pf-img-btn--star:hover { background: #fef3c7; }
.pf-img-btn--delete {
    top: 4px;
    right: 4px;
    background: rgba(239,68,68,.9);
    color: #fff;
}
.pf-img-btn--delete:hover { background: #dc2626; }

/* Property form mobile */
@media (max-width: 767.98px) {
    .pf-header {
        flex-direction: column;
        align-items: flex-start;
        padding: .85rem 1rem;
    }
    .pf-header-actions { width: 100%; }
    .pf-btn-ghost { flex: 1; justify-content: center; }
    .pf-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pf-location-options {
        flex-direction: column;
    }
    .pf-section-body {
        padding: .85rem .9rem;
    }
    .pf-map { height: 260px; }
    .pf-sidebar-sticky { position: static; }
}
@media (max-width: 400px) {
    .pf-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── Profile Page (Panel) ─── */
.prf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.prf-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -8%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}
.prf-header--compact {
    justify-content: flex-start;
    gap: .85rem;
    margin-bottom: 1.25rem;
}
.prf-header-left {
    display: flex;
    align-items: center;
    gap: .85rem;
}
.prf-header-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}
.prf-header-icon--slate {
    background: rgba(100,116,139,.2);
}
.prf-header-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}
.prf-header-sub {
    font-size: .78rem;
    color: rgba(255,255,255,.55);
    margin: 2px 0 0;
}
.prf-header-actions {
    display: flex;
    gap: .5rem;
    position: relative;
    z-index: 1;
}

/* Profile sections reuse pf-section styles but with prf- prefix for overrides */
.prf-section {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    overflow: hidden;
}
.prf-section--action {
    border: 1px solid #dbeafe;
    background: #f8fafc;
}
.prf-section-head {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .8rem 1.1rem;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbfc;
}
.prf-section-ico {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    flex-shrink: 0;
}
.prf-section-ico--blue { background: #eff6ff; color: #2563eb; }
.prf-section-ico--cyan { background: #ecfeff; color: #0891b2; }
.prf-section-ico--green { background: #f0fdf4; color: #16a34a; }
.prf-section-ico--amber { background: #fffbeb; color: #d97706; }
.prf-section-ico--purple { background: #f5f3ff; color: #7c3aed; }
.prf-section-ico--slate { background: #f1f5f9; color: #475569; }
.prf-section-title {
    font-size: .85rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    flex: 1;
}
.prf-section-body {
    padding: 1rem 1.1rem;
}

/* Social grid */
.prf-social-grid {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.prf-social-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .75rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    transition: all .15s;
}
.prf-social-item:hover {
    border-color: #e2e8f0;
    background: #fff;
}
.prf-social-ico {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.prf-social-field {
    flex: 1;
    min-width: 0;
}
.prf-social-field .pf-label {
    margin-bottom: .2rem;
}

/* Color picker */
.prf-color-pick {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.prf-color-pick .form-control-color {
    width: 100%;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}
.prf-color-preview {
    padding: .55rem .75rem;
    border-radius: 8px;
    text-align: center;
    font-size: .75rem;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,.05);
}

/* Slider grid */
.prf-slider-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
    margin-bottom: .75rem;
}
.prf-slider-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 2.5/1;
}
.prf-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prf-slider-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: rgba(239,68,68,.85);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s;
    padding: 0;
}
.prf-slider-item:hover .prf-slider-delete { opacity: 1; }

.prf-upload-row {
    display: flex;
    gap: .4rem;
    align-items: center;
}
.prf-upload-row .pf-input { flex: 1; }

.prf-info-box {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: .55rem .75rem;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    font-size: .75rem;
    color: #2563eb;
    font-weight: 500;
}

/* Logo preview */
.prf-logo-preview-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    margin-bottom: .85rem;
}
.prf-logo-frame {
    overflow: hidden;
    transition: all .3s ease;
}
.prf-logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prf-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 2px dashed #d1d5db;
    color: #94a3b8;
    font-size: 2rem;
    border-radius: inherit;
}

/* Shape selector */
.prf-shape-group {
    display: flex;
    gap: .35rem;
}
.prf-shape-opt {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: .45rem .4rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 600;
    color: #64748b;
    transition: all .15s;
    text-align: center;
}
.prf-shape-opt .btn-check { display: none; }
.prf-shape-opt i { font-size: .75rem; }
.prf-shape-opt:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.prf-shape-opt--active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
}
.prf-shape-opt--active:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.prf-size-val {
    font-weight: 700;
    color: #2563eb;
}

/* Colors row */
.prf-colors-row {
    display: flex;
    gap: .75rem;
    margin-bottom: .75rem;
}
.prf-color-item {
    flex: 1;
}
.prf-color-item .form-control-color {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}
.prf-gradient-preview {
    padding: .75rem;
    border-radius: 10px;
    text-align: center;
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
}

/* Favicon */
.prf-favicon-area {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    margin-bottom: .6rem;
}
.prf-favicon-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}
.prf-favicon-placeholder {
    text-align: center;
    color: #94a3b8;
}
.prf-favicon-placeholder i { font-size: 1.5rem; display: block; }
.prf-favicon-placeholder small { font-size: .68rem; }

/* Domain section */
.prf-domain-active {
    margin-bottom: .6rem;
}
.prf-domain-name {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}
.prf-domain-name i { color: #94a3b8; font-size: .9rem; }
.prf-domain-name code {
    flex: 1;
    font-size: .82rem;
    font-weight: 600;
    color: #0f172a;
}
.prf-domain-badge {
    font-size: .6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.prf-domain-badge--active { background: #f0fdf4; color: #16a34a; }
.prf-domain-badge--pending { background: #fffbeb; color: #d97706; }

.prf-dns-box {
    padding: .65rem .75rem;
    border-radius: 8px;
    font-size: .75rem;
    margin-bottom: .5rem;
}
.prf-dns-box--warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
}
.prf-dns-box--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.prf-dns-box--muted {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.prf-dns-box--muted i { margin-top: 2px; flex-shrink: 0; }
.prf-dns-title {
    font-weight: 700;
    margin-bottom: .35rem;
    display: flex;
    align-items: center;
    gap: 4px;
}
.prf-dns-code {
    display: block;
    font-size: .75rem;
    background: rgba(0,0,0,.05);
    padding: 2px 6px;
    border-radius: 4px;
    margin: 3px 0;
}
.prf-dns-hint {
    display: block;
    color: #64748b;
    margin-top: .35rem;
    line-height: 1.4;
}

.prf-vitrina-link {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .65rem;
    flex-wrap: wrap;
}

/* Profile mobile */
@media (max-width: 767.98px) {
    .prf-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.1rem;
    }
    .prf-header-actions { width: 100%; }
    .prf-social-grid { gap: .4rem; }
    .prf-social-item { padding: .45rem .6rem; }
    .prf-shape-group { gap: .25rem; }
    .prf-shape-opt { font-size: .65rem; padding: .35rem .3rem; }
}
