.lost-public-body{
    background:#f5f7fa;
}

.lost-public-page{
    min-height:75vh;
    padding-bottom:80px;
}

.lost-public-emergency-banner{
    display:flex;
    justify-content:center;
    gap:14px;
    align-items:center;
    padding:17px 20px;
    background:#b91c1c;
    color:#fff;
}

.lost-public-emergency-banner > i{
    font-size:27px;
}

.lost-public-emergency-banner strong,
.lost-public-emergency-banner span{
    display:block;
}

.lost-public-emergency-banner strong{
    font-size:18px;
    text-transform:uppercase;
}

.lost-public-emergency-banner span{
    margin-top:2px;
    opacity:.93;
}

.lost-public-container{
    width:min(1180px,calc(100% - 32px));
    margin:32px auto 0;
}

.lost-public-success,
.lost-public-error{
    display:flex;
    gap:12px;
    margin-bottom:20px;
    padding:16px;
    border-radius:14px;
    line-height:1.6;
}

.lost-public-success{
    border:1px solid #a7dfbf;
    background:#eefbf3;
    color:#12643a;
}

.lost-public-error{
    border:1px solid #f2b8b5;
    background:#fff1f1;
    color:#922018;
}

.lost-public-hero{
    display:grid;
    grid-template-columns:minmax(300px,430px) minmax(0,1fr);
    gap:32px;
    align-items:center;
    padding:28px;
    border:1px solid #e0e6ed;
    border-radius:25px;
    background:#fff;
    box-shadow:0 22px 60px rgba(6,27,58,.10);
}

.lost-public-photo{
    position:relative;
    overflow:hidden;
    aspect-ratio:4 / 3;
    border-radius:19px;
    background:#e8eef4;
}

.lost-public-photo img{
    width:100%;
    height:100%;
    display:block;
    object-fit:contain;
    object-position:center;
    background:#e8eef4;
}

.lost-public-photo-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#8da2b7;
    font-size:65px;
}

.lost-public-missing-label{
    position:absolute;
    top:14px;
    left:14px;
    padding:9px 14px;
    border-radius:999px;
    background:#dc2626;
    color:#fff;
    font-size:13px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.lost-public-id{
    color:#dc2626;
    font-size:13px;
    font-weight:900;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.lost-public-heading h1{
    margin:8px 0 9px;
    color:#071d3c;
    font-size:43px;
    line-height:1.1;
}

.lost-public-summary{
    margin:0;
    color:#61758a;
    font-size:17px;
}

.lost-public-last-seen{
    display:flex;
    gap:13px;
    align-items:flex-start;
    margin-top:24px;
    padding:16px;
    border-left:4px solid #dc2626;
    border-radius:12px;
    background:#fff4f4;
}

.lost-public-last-seen > i{
    margin-top:3px;
    color:#dc2626;
    font-size:23px;
}

.lost-public-last-seen span,
.lost-public-last-seen strong{
    display:block;
}

.lost-public-last-seen span{
    color:#9d5555;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.lost-public-last-seen strong{
    margin-top:4px;
    color:#7f1d1d;
}

.lost-public-primary-actions{
    display:flex;
    flex-wrap:wrap;
    gap:11px;
    margin-top:24px;
}

.lost-public-found-button,
.lost-public-phone-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:13px 17px;
    border-radius:11px;
    font-weight:900;
    text-decoration:none;
}

.lost-public-found-button{
    background:#dc2626;
    color:#fff;
}

.lost-public-phone-button{
    border:1px solid #cbd8e4;
    background:#fff;
    color:#12365d;
}

.lost-public-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:22px;
    margin-top:24px;
}

.lost-public-main-column{
    display:grid;
    gap:20px;
}

.lost-public-sidebar{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.lost-public-card,
.lost-public-reward-card,
.lost-public-safety-card,
.lost-public-stat-card{
    padding:24px;
    border:1px solid #dde6ef;
    border-radius:19px;
    background:#fff;
    box-shadow:0 13px 38px rgba(6,27,58,.055);
}

.lost-public-card h2,
.lost-public-reward-card h2,
.lost-public-safety-card h2{
    margin:0 0 18px;
    color:#071d3c;
    font-size:21px;
}

.lost-public-card h2 i{
    margin-right:8px;
    color:#dc2626;
}

.lost-public-message{
    border-color:#f3b5b5;
    background:#fffafa;
}

.lost-public-message p,
.lost-medical-card p{
    margin:0;
    color:#405a73;
    line-height:1.75;
}

.lost-public-details-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
}

.lost-public-details-grid > div{
    padding:14px;
    border-radius:12px;
    background:#f6f9fc;
}

.lost-public-details-grid span,
.lost-public-description span{
    display:block;
    margin-bottom:5px;
    color:#687e93;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.lost-public-details-grid strong{
    color:#12365d;
    overflow-wrap:anywhere;
}

.lost-public-description{
    margin-top:14px;
    padding:15px;
    border-radius:12px;
    background:#f6f9fc;
}

.lost-public-description p{
    margin:0;
    color:#405a73;
    line-height:1.7;
}

.lost-public-location strong{
    color:#12365d;
    font-size:18px;
}

.lost-public-location p{
    margin:8px 0 0;
    color:#536b84;
    line-height:1.65;
}

.lost-medical-card{
    border-color:#f3cf8a;
    background:#fffbf1;
}

.lost-public-reward-card{
    border-color:#f0c768;
    background:#fff9e8;
    text-align:center;
}

.lost-public-reward-card > i{
    color:#b77900;
    font-size:39px;
}

.lost-public-reward-card h2{
    margin:12px 0 7px;
    color:#78510b;
}

.lost-public-reward-card > strong{
    display:block;
    color:#8a5b00;
    font-size:28px;
}

.lost-public-reward-card p{
    color:#765a23;
    line-height:1.6;
}

.lost-public-safety-card{
    background:#f5f9fd;
}

.lost-public-safety-card > i{
    color:#286596;
    font-size:34px;
}

.lost-public-safety-card h2{
    margin:12px 0;
}

.lost-public-safety-card p{
    color:#506a83;
    font-size:13px;
    line-height:1.65;
}

.lost-public-stat-card{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    text-align:center;
}

.lost-public-stat-card > div{
    padding:13px 7px;
    border-radius:12px;
    background:#f6f9fc;
}

.lost-public-stat-card strong,
.lost-public-stat-card span{
    display:block;
}

.lost-public-stat-card strong{
    color:#12365d;
    font-size:24px;
}

.lost-public-stat-card span{
    margin-top:4px;
    color:#71859a;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
}

.lost-public-report-section{
    margin-top:26px;
    padding:29px;
    border:2px solid #dc2626;
    border-radius:23px;
    background:#fff;
    box-shadow:0 18px 50px rgba(127,29,29,.10);
}

.lost-public-report-heading{
    display:flex;
    gap:14px;
    align-items:flex-start;
    margin-bottom:23px;
}

.lost-public-report-heading > i{
    color:#dc2626;
    font-size:31px;
}

.lost-public-report-heading h2{
    margin:0;
    color:#7f1d1d;
    font-size:27px;
}

.lost-public-report-heading p{
    margin:6px 0 0;
    color:#735050;
}

.lost-public-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.lost-public-report-form label{
    display:block;
    color:#12365d;
    font-size:14px;
    font-weight:800;
}

.lost-public-report-form input,
.lost-public-report-form textarea{
    width:100%;
    box-sizing:border-box;
    margin-top:8px;
    padding:13px 14px;
    border:1px solid #cbd8e4;
    border-radius:11px;
    background:#fff;
    color:#102b50;
    font:inherit;
}

.lost-public-report-form textarea{
    resize:vertical;
    line-height:1.6;
}

.lost-public-report-form input:focus,
.lost-public-report-form textarea:focus{
    border-color:#dc2626;
    outline:none;
    box-shadow:0 0 0 3px rgba(220,38,38,.10);
}

.lost-public-report-form label small{
    display:block;
    margin-top:6px;
    color:#71859a;
    font-weight:500;
}

.lost-public-form-full{
    grid-column:1 / -1;
}

.lost-public-checkbox{
    display:flex !important;
    gap:11px;
    align-items:flex-start;
    margin-top:17px;
    padding:14px;
    border-radius:11px;
    background:#f6f9fc;
}

.lost-public-checkbox input{
    width:auto;
    margin:3px 0 0;
}

.lost-public-checkbox span{
    color:#405a73;
    font-weight:600;
    line-height:1.55;
}

.lost-public-submit-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:20px;
    padding:14px 21px;
    border:0;
    border-radius:11px;
    background:#dc2626;
    color:#fff;
    font:inherit;
    font-weight:900;
    cursor:pointer;
}

@media(max-width:900px){
    .lost-public-hero{
        grid-template-columns:1fr;
    }

    .lost-public-photo{
        max-height:500px;
    }

    .lost-public-layout{
        grid-template-columns:1fr;
    }

    .lost-public-sidebar{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:650px){
    .lost-public-container{
        width:min(100% - 22px,1180px);
        margin-top:18px;
    }

    .lost-public-hero,
    .lost-public-card,
    .lost-public-report-section{
        padding:19px;
        border-radius:17px;
    }

    .lost-public-heading h1{
        font-size:34px;
    }

    .lost-public-details-grid,
    .lost-public-form-grid,
    .lost-public-sidebar{
        grid-template-columns:1fr;
    }

    .lost-public-form-full{
        grid-column:auto;
    }

    .lost-public-primary-actions{
        flex-direction:column;
    }

    .lost-public-primary-actions a,
    .lost-public-submit-button{
        width:100%;
        box-sizing:border-box;
    }
}

.lost-public-closed-status{
    width:min(100%,820px);
    margin:45px auto;
    padding:40px;
    border:1px solid #dce5ed;
    border-radius:25px;
    background:#fff;
    box-shadow:0 22px 65px rgba(6,27,58,.10);
    text-align:center;
}

.lost-public-closed-status.is-found{
    border-color:#a8dfbe;
    background:#f8fdf9;
}

.lost-public-closed-status.is-cancelled{
    border-color:#e5c1c1;
    background:#fffafa;
}

.lost-public-closed-icon{
    width:82px;
    height:82px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 20px;
    border-radius:50%;
    background:#eef3f8;
    color:#365a78;
    font-size:38px;
}

.lost-public-closed-status.is-found
.lost-public-closed-icon{
    background:#e5f8ed;
    color:#159653;
}

.lost-public-closed-status.is-cancelled
.lost-public-closed-icon{
    background:#fff0f0;
    color:#b42318;
}

.lost-public-closed-status h1{
    margin:9px auto 12px;
    max-width:690px;
    color:#071d3c;
    font-size:37px;
    line-height:1.18;
}

.lost-public-closed-message{
    max-width:650px;
    margin:0 auto;
    color:#61758a;
    font-size:17px;
    line-height:1.7;
}

.lost-public-closed-pet{
    display:flex;
    align-items:center;
    gap:18px;
    width:min(100%,550px);
    margin:28px auto 0;
    padding:17px;
    border-radius:16px;
    background:#f5f8fb;
    text-align:left;
}

.lost-public-closed-pet img,
.lost-public-closed-placeholder{
    flex:0 0 112px;
    width:112px;
    height:90px;
    border-radius:13px;
    object-fit:contain;
    object-position:center;
    background:#e6edf4;
}

.lost-public-closed-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#8298ac;
    font-size:35px;
}

.lost-public-closed-pet span,
.lost-public-closed-pet strong{
    display:block;
}

.lost-public-closed-pet span{
    color:#71859a;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.lost-public-closed-pet strong{
    margin-top:4px;
    color:#12365d;
    font-size:22px;
}

.lost-public-closed-pet p{
    margin:5px 0 0;
    color:#61758a;
}

.lost-public-closed-details{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
    margin-top:25px;
    text-align:left;
}

.lost-public-closed-details > div{
    padding:15px;
    border-radius:13px;
    background:#f5f8fb;
}

.lost-public-closed-details span,
.lost-public-closed-details strong{
    display:block;
}

.lost-public-closed-details span{
    margin-bottom:5px;
    color:#71859a;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.lost-public-closed-details strong{
    color:#12365d;
}

.lost-public-resolution{
    margin-top:18px;
    padding:17px;
    border-left:4px solid #159653;
    border-radius:12px;
    background:#eefaf3;
    color:#405a73;
    text-align:left;
}

.lost-public-resolution span,
.lost-public-resolution strong{
    display:block;
}

.lost-public-resolution span{
    color:#498064;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.lost-public-resolution strong{
    margin-top:4px;
    color:#17613d;
}

.lost-public-resolution p{
    margin:9px 0 0;
    line-height:1.65;
}

.lost-public-closed-actions{
    display:flex;
    justify-content:center;
    margin-top:27px;
}

.lost-public-home-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:13px 18px;
    border-radius:11px;
    background:#159653;
    color:#fff;
    font-weight:900;
    text-decoration:none;
}

@media(max-width:650px){
    .lost-public-closed-status{
        margin:20px auto;
        padding:27px 18px;
    }

    .lost-public-closed-status h1{
        font-size:30px;
    }

    .lost-public-closed-pet{
        align-items:flex-start;
    }

    .lost-public-closed-pet img,
    .lost-public-closed-placeholder{
        flex-basis:88px;
        width:88px;
        height:76px;
    }

    .lost-public-closed-details{
        grid-template-columns:1fr;
    }

    .lost-public-home-button{
        width:100%;
    }
}

/* Lost-pet contact and sharing bar */

.lost-public-contact-bar{
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    margin-top:24px;
    padding:10px;
    border:1px solid #dce5ed;
    border-radius:15px;
    background:#f7fafc;
    box-sizing:border-box;
}

.lost-public-contact-bar a,
.lost-public-contact-bar button{
    min-width:0;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    box-sizing:border-box;
    border-radius:10px;
    font:inherit;
    font-size:13px;
    font-weight:900;
    line-height:1;
    text-decoration:none;
    white-space:nowrap;
    cursor:pointer;
    transition:
        transform .15s ease,
        background-color .15s ease,
        border-color .15s ease;
}

.lost-public-contact-bar a:hover,
.lost-public-contact-bar button:hover{
    transform:translateY(-1px);
}

.lost-public-contact-call{
    flex:0 0 auto;
    padding:0 15px;
    border:1px solid #159653;
    background:#159653;
    color:#fff;
}

.lost-public-contact-call:hover{
    background:#107b43;
    border-color:#107b43;
}

.lost-public-contact-number{
    flex:1 1 auto;
    justify-content:flex-start !important;
    padding:0 12px;
    border:1px solid transparent;
    background:transparent;
    color:#12365d;
    overflow:hidden;
    text-overflow:ellipsis;
}

.lost-public-contact-number:hover{
    background:#fff;
    border-color:#d5e0e9;
}

.lost-public-contact-whatsapp{
    flex:0 0 auto;
    padding:0 14px;
    border:1px solid #20a95a;
    background:#fff;
    color:#168544;
}

.lost-public-contact-whatsapp i{
    font-size:18px;
}

.lost-public-contact-email,
.lost-public-contact-secure{
    flex:1 1 auto;
    padding:0 15px;
    border:1px solid #159653;
    background:#159653;
    color:#fff;
}

.lost-public-contact-share{
    flex:0 0 auto;
    padding:0 14px;
    border:1px solid #cbd8e4;
    background:#fff;
    color:#12365d;
}

.lost-public-contact-share i{
    font-size:17px;
}

.lost-public-contact-share.is-copied{
    border-color:#159653;
    background:#eaf8f0;
    color:#17613d;
}

.lost-contact-mobile-label{
    display:none;
}

/*
 * Tablet: keep the complete action bar on one row,
 * reducing labels and spacing when necessary.
 */
@media(max-width:820px){
    .lost-public-contact-bar{
        gap:7px;
        padding:8px;
    }

    .lost-public-contact-bar a,
    .lost-public-contact-bar button{
        min-height:42px;
        font-size:12px;
    }

    .lost-public-contact-call,
    .lost-public-contact-whatsapp,
    .lost-public-contact-share{
        padding-left:11px;
        padding-right:11px;
    }
}

/*
 * Smartphone: remains on a single row.
 * Call and number stay visible; WhatsApp and Share become compact.
 */
@media(max-width:560px){
    .lost-public-contact-bar{
        gap:5px;
        padding:6px;
        overflow:hidden;
    }

    .lost-public-contact-bar a,
    .lost-public-contact-bar button{
        min-height:40px;
        gap:5px;
        border-radius:8px;
        font-size:11px;
    }

    .lost-contact-desktop-label{
        display:none;
    }

    .lost-contact-mobile-label{
        display:inline;
    }

    .lost-public-contact-call{
        padding:0 10px;
    }

    .lost-public-contact-number{
        flex:1 1 120px;
        padding:0 5px;
        font-size:11px;
    }

    .lost-public-contact-whatsapp,
    .lost-public-contact-share{
        flex:0 0 40px;
        width:40px;
        padding:0;
    }

    .lost-public-contact-whatsapp i,
    .lost-public-contact-share i{
        margin:0;
        font-size:17px;
    }
}

/*
 * Very narrow devices: preserve one row and prioritize
 * phone access, visible number, WhatsApp and Share.
 */
@media(max-width:390px){
    .lost-public-contact-bar{
        gap:3px;
        padding:5px;
    }

    .lost-public-contact-call{
        flex:0 0 38px;
        width:38px;
        padding:0;
    }

    .lost-public-contact-call
    .lost-contact-mobile-label{
        display:none;
    }

    .lost-public-contact-number{
        min-width:0;
        padding:0 3px;
        font-size:10px;
    }

    .lost-public-contact-whatsapp,
    .lost-public-contact-share{
        flex-basis:36px;
        width:36px;
    }
}

/* Public lost-pet sighting location map */

.lost-sighting-map-field{
    padding:18px;
    border:1px solid #d8e4ed;
    border-radius:15px;
    background:#f8fbfd;
}

.lost-sighting-map-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
    margin-bottom:14px;
}

.lost-sighting-map-heading strong,
.lost-sighting-map-heading span{
    display:block;
}

.lost-sighting-map-heading strong{
    color:#102b50;
    font-size:15px;
}

.lost-sighting-map-heading span{
    max-width:600px;
    margin-top:5px;
    color:#647b91;
    font-size:12px;
    font-weight:500;
    line-height:1.55;
}

.lost-sighting-location-button{
    flex:0 0 auto;
    min-height:41px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:0 13px;
    border:1px solid #159653;
    border-radius:9px;
    background:#fff;
    color:#159653;
    font:inherit;
    font-size:12px;
    font-weight:900;
    cursor:pointer;
}

.lost-sighting-location-button:hover{
    background:#eaf8f0;
}

.lost-sighting-location-button:disabled{
    cursor:wait;
    opacity:.7;
}

.lost-sighting-map{
    width:100%;
    height:390px;
    overflow:hidden;
    border:1px solid #cbd8e4;
    border-radius:13px;
    background:#e7eef4;
    z-index:1;
}

.lost-sighting-coordinate-display{
    margin-top:10px;
    padding:10px 12px;
    border-radius:9px;
    background:#fff;
    color:#5d7489;
    font-family:monospace;
    font-size:11px;
    overflow-wrap:anywhere;
}

.lost-sighting-clear-location{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:10px;
    padding:8px 11px;
    border:1px solid #d8dee6;
    border-radius:8px;
    background:#fff;
    color:#596b7e;
    font:inherit;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
}

.lost-sighting-clear-location:hover{
    border-color:#e5aaa6;
    color:#9f1d18;
}

.lost-sighting-clear-location[hidden]{
    display:none;
}

@media(max-width:700px){
    .lost-sighting-map-heading{
        flex-direction:column;
    }

    .lost-sighting-location-button{
        width:100%;
    }

    .lost-sighting-map{
        height:330px;
    }
}

@media(max-width:440px){
    .lost-sighting-map-field{
        padding:12px;
    }

    .lost-sighting-map{
        height:290px;
    }
}

/* Lost-pet photos: always display the complete original photograph */
.lost-public-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #e8eef4 !important;
}

.lost-public-closed-pet img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #e6edf4 !important;
}


/* CHIPREGISTER_I18N_SAFE_CONTACT_BAR_V1 */
@media (min-width:561px){
    .lost-public-contact-bar{flex-wrap:wrap;overflow:visible;}
    .lost-public-contact-bar a,
    .lost-public-contact-bar button{height:auto;min-height:44px;white-space:normal;line-height:1.2;text-align:center;overflow-wrap:anywhere;}
    .lost-public-contact-call,
    .lost-public-contact-whatsapp,
    .lost-public-contact-email,
    .lost-public-contact-secure,
    .lost-public-contact-share{flex:1 1 135px;padding:10px 12px;}
    .lost-public-contact-number{flex:1 1 105px;min-width:90px;}
}
/* CHIPREGISTER_I18N_SAFE_CONTACT_BAR_V1_END */
