.account-page{
    min-height:75vh;
    padding:65px 20px 90px;
    background:#f5f8fc;
}

.account-container{
    width:min(100%,1100px);
    margin:0 auto;
}

.login-card{
    width:min(100%,510px);
    margin:0 auto;
    padding:38px;
    border:1px solid #dce6f2;
    border-radius:24px;
    background:#fff;
    box-shadow:0 24px 65px rgba(6,27,58,.11);
}

.account-icon{
    width:72px;
    height:72px;
    margin:0 auto 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#e8f8ef;
    color:#159653;
    font-size:30px;
}

.login-card h1{
    margin:0;
    color:#061b3a;
    font-size:31px;
    text-align:center;
}

.login-introduction{
    margin:12px 0 27px;
    color:#61758a;
    line-height:1.65;
    text-align:center;
}

.account-form label{
    display:block;
    margin-top:18px;
    color:#102b50;
    font-size:14px;
    font-weight:800;
}

.account-form input{
    width:100%;
    margin-top:8px;
    padding:14px 15px;
    border:1px solid #cddae7;
    border-radius:12px;
    background:#fff;
    color:#061b3a;
    font:inherit;
    box-sizing:border-box;
}

.account-form input:focus{
    border-color:#159653;
    outline:none;
    box-shadow:0 0 0 3px rgba(21,150,83,.12);
}

.account-form .btn{
    width:100%;
    justify-content:center;
    margin-top:24px;
}

.account-error,
.account-success{
    display:flex;
    align-items:flex-start;
    gap:11px;
    margin-bottom:20px;
    padding:14px 16px;
    border-radius:13px;
    line-height:1.5;
}

.account-error{
    border:1px solid #efb3ad;
    background:#fff3f2;
    color:#922018;
}

.account-success{
    border:1px solid #b9e3c9;
    background:#effbf4;
    color:#12643a;
}

.account-links{
    margin-top:22px;
    color:#64748b;
    text-align:center;
    line-height:1.7;
}

.account-links a{
    color:#11834a;
    font-weight:800;
    text-decoration:none;
}

.dashboard-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:22px;
    margin-bottom:30px;
}

.dashboard-header h1{
    margin:0;
    color:#061b3a;
    font-size:34px;
}

.dashboard-header p{
    margin:8px 0 0;
    color:#61758a;
}

.dashboard-actions{
    display:flex;
    gap:10px;
    align-items:center;
}

.dashboard-actions form{
    margin:0;
}

.dashboard-summary{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin-bottom:28px;
}

.dashboard-stat{
    padding:21px;
    border:1px solid #dce6f2;
    border-radius:17px;
    background:#fff;
    box-shadow:0 10px 30px rgba(6,27,58,.055);
}

.dashboard-stat span,
.dashboard-stat strong{
    display:block;
}

.dashboard-stat span{
    color:#64748b;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
}

.dashboard-stat strong{
    margin-top:7px;
    color:#061b3a;
    font-size:25px;
}

.dashboard-section{
    padding:25px;
    border:1px solid #dce6f2;
    border-radius:21px;
    background:#fff;
    box-shadow:0 16px 45px rgba(6,27,58,.07);
}

.dashboard-section-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-bottom:21px;
}

.dashboard-section-header h2{
    margin:0;
    color:#061b3a;
    font-size:23px;
}

.pet-dashboard-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}

.pet-dashboard-card{
    display:flex;
    gap:17px;
    padding:17px;
    border:1px solid #dce6f2;
    border-radius:17px;
    background:#fafdff;
}

/*
 * CHIPREGISTER_OWNER_DASHBOARD_PHOTO_V1
 */
.pet-dashboard-photo{
    flex:0 0 125px;
    width:125px;
    height:170px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#eaf1f7;
}

.pet-dashboard-photo img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
    background:#eaf1f7;
}

.pet-dashboard-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#7890a7;
    font-size:38px;
}

.pet-dashboard-content{
    min-width:0;
    flex:1;
}

.pet-dashboard-content h3{
    margin:1px 0 6px;
    color:#061b3a;
    font-size:20px;
}

.pet-dashboard-meta{
    margin:4px 0;
    color:#5c7389;
    font-size:13px;
    line-height:1.5;
    overflow-wrap:anywhere;
}

.pet-status{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:8px;
    padding:6px 9px;
    border-radius:999px;
    background:#e8f8ef;
    color:#12643a;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.pet-payment-pending{
    background:#fff4d9;
    color:#79520b;
}

.pet-dashboard-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:13px;
}

.pet-dashboard-buttons .btn{
    padding:8px 11px;
    font-size:12px;
}

.empty-dashboard{
    padding:38px 20px;
    border:2px dashed #cddae7;
    border-radius:17px;
    color:#61758a;
    text-align:center;
}

.empty-dashboard i{
    display:block;
    margin-bottom:13px;
    color:#9bb0c3;
    font-size:40px;
}

@media(max-width:800px){
    .dashboard-summary{
        grid-template-columns:1fr;
    }

    .pet-dashboard-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:620px){
    .account-page{
        padding:35px 14px 65px;
    }

    .login-card,
    .dashboard-section{
        padding:24px 18px;
        border-radius:18px;
    }

    .dashboard-header{
        flex-direction:column;
    }

    .dashboard-actions{
        width:100%;
        flex-direction:column;
        align-items:stretch;
    }

    .dashboard-actions .btn,
    .dashboard-actions form,
    .dashboard-actions form button{
        width:100%;
        justify-content:center;
    }

    .pet-dashboard-card{
        flex-direction:column;
    }

    .pet-dashboard-photo{
        width:100%;
        height:260px;
        flex-basis:auto;
    }
}

.account-field-help{
    display:block;
    margin-top:7px;
    color:#64748b;
    font-size:12px;
    font-weight:500;
    line-height:1.5;
}

.pet-detail-navigation{
    margin-bottom:18px;
}

.pet-detail-navigation a{
    color:#11834a;
    font-weight:800;
    text-decoration:none;
}

.pet-detail-navigation i{
    margin-right:7px;
}

.pet-detail-header{
    display:grid;
    grid-template-columns:170px minmax(0,1fr) auto;
    gap:25px;
    align-items:center;
    margin-bottom:25px;
    padding:25px;
    border:1px solid #dce6f2;
    border-radius:22px;
    background:#fff;
    box-shadow:0 16px 45px rgba(6,27,58,.07);
}

.pet-detail-header-photo{
    width:170px;
    height:170px;
    overflow:hidden;
    border-radius:18px;
    background:#eaf1f7;
}

.pet-detail-header-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.pet-detail-eyebrow{
    color:#159653;
    font-size:12px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.pet-detail-heading h1{
    margin:7px 0 5px;
    color:#061b3a;
    font-size:35px;
}

.pet-detail-heading > p{
    margin:0;
    color:#61758a;
}

.pet-detail-statuses{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:15px;
}

.pet-detail-actions{
    display:flex;
    flex-direction:column;
    gap:9px;
    min-width:190px;
}

.pet-detail-actions .btn{
    justify-content:center;
}

.pet-detail-layout{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:19px;
}

.pet-detail-card{
    padding:24px;
    border:1px solid #dce6f2;
    border-radius:19px;
    background:#fff;
    box-shadow:0 13px 38px rgba(6,27,58,.055);
}

.pet-detail-card h2{
    margin:0 0 20px;
    color:#061b3a;
    font-size:20px;
}

.pet-detail-card h2 i{
    margin-right:8px;
    color:#159653;
}

.pet-detail-wide{
    grid-column:1 / -1;
}

.pet-detail-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.pet-detail-grid > div{
    padding:14px;
    border-radius:12px;
    background:#f6f9fc;
}

.pet-detail-grid span,
.pet-detail-text span{
    display:block;
    margin-bottom:5px;
    color:#64748b;
    font-size:11px;
    font-weight:900;
    letter-spacing:.03em;
    text-transform:uppercase;
}

.pet-detail-grid strong{
    color:#102b50;
    overflow-wrap:anywhere;
}

.pet-detail-full{
    grid-column:1 / -1;
}

.pet-microchip-number{
    font-size:21px;
    letter-spacing:.05em;
}

.pet-detail-text{
    margin-top:14px;
    padding:15px;
    border-radius:12px;
    background:#f6f9fc;
}

.pet-detail-text:first-of-type{
    margin-top:0;
}

.pet-detail-text p{
    margin:0;
    color:#405a73;
    line-height:1.65;
    white-space:pre-wrap;
}

.pet-photo-gallery{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.pet-photo-gallery figure{
    position:relative;
    margin:0;
    overflow:hidden;
    aspect-ratio:1 / 1;
    border-radius:14px;
    background:#eaf1f7;
}

.pet-photo-gallery img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.pet-photo-gallery figcaption{
    position:absolute;
    left:8px;
    bottom:8px;
    padding:6px 9px;
    border-radius:999px;
    background:rgba(6,27,58,.88);
    color:#fff;
    font-size:11px;
    font-weight:800;
}

@media(max-width:900px){
    .pet-detail-header{
        grid-template-columns:140px minmax(0,1fr);
    }

    .pet-detail-header-photo{
        width:140px;
        height:140px;
    }

    .pet-detail-actions{
        grid-column:1 / -1;
        flex-direction:row;
        flex-wrap:wrap;
    }

    .pet-photo-gallery{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:700px){
    .pet-detail-layout{
        grid-template-columns:1fr;
    }

    .pet-detail-wide{
        grid-column:auto;
    }

    .pet-photo-gallery{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:560px){
    .pet-detail-header{
        grid-template-columns:1fr;
    }

    .pet-detail-header-photo{
        width:100%;
        height:280px;
    }

    .pet-detail-actions{
        flex-direction:column;
    }

    .pet-detail-grid{
        grid-template-columns:1fr;
    }

    .pet-detail-full{
        grid-column:auto;
    }
}

.edit-pet-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:22px;
    margin-bottom:25px;
    padding:25px;
    border:1px solid #dce6f2;
    border-radius:21px;
    background:#fff;
    box-shadow:0 14px 42px rgba(6,27,58,.065);
}

.edit-pet-header h1{
    margin:7px 0;
    color:#061b3a;
    font-size:32px;
}

.edit-pet-header p{
    margin:0;
    max-width:700px;
    color:#61758a;
    line-height:1.65;
}

.pet-edit-form{
    display:grid;
    gap:19px;
}

.pet-edit-section{
    padding:25px;
    border:1px solid #dce6f2;
    border-radius:19px;
    background:#fff;
    box-shadow:0 12px 35px rgba(6,27,58,.05);
}

.pet-edit-section h2{
    margin:0 0 19px;
    color:#061b3a;
    font-size:20px;
}

.pet-edit-section h2 i{
    margin-right:8px;
    color:#159653;
}

.pet-edit-section-intro{
    margin:-8px 0 20px;
    color:#64748b;
    line-height:1.6;
}

.protected-field-grid,
.pet-edit-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px;
}

.protected-field-grid > div{
    padding:15px;
    border:1px solid #e1e9f1;
    border-radius:13px;
    background:#f6f9fc;
}

.protected-field-grid span{
    display:block;
    margin-bottom:6px;
    color:#64748b;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.protected-field-grid strong{
    color:#102b50;
    overflow-wrap:anywhere;
}

.pet-edit-section label{
    display:block;
    color:#102b50;
    font-size:14px;
    font-weight:800;
}

.pet-edit-section input,
.pet-edit-section select,
.pet-edit-section textarea{
    width:100%;
    box-sizing:border-box;
    margin-top:8px;
    padding:13px 14px;
    border:1px solid #cddae7;
    border-radius:11px;
    background:#fff;
    color:#102b50;
    font:inherit;
}

.pet-edit-section textarea{
    resize:vertical;
    line-height:1.6;
}

.pet-edit-section input:focus,
.pet-edit-section select:focus,
.pet-edit-section textarea:focus{
    border-color:#159653;
    outline:none;
    box-shadow:0 0 0 3px rgba(21,150,83,.11);
}

.pet-edit-grid-textareas label{
    min-width:0;
}

.pet-edit-full{
    grid-column:1 / -1;
}

.account-checkbox{
    display:flex !important;
    gap:11px;
    align-items:flex-start;
    margin-top:18px;
    padding:15px;
    border-radius:12px;
    background:#f6f9fc;
}

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

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

.pet-edit-actions{
    display:flex;
    justify-content:flex-end;
    gap:11px;
}

.pet-edit-history{
    margin-top:25px;
}

.change-log-list{
    display:grid;
    gap:12px;
}

.change-log-item{
    display:flex;
    gap:14px;
    padding:15px;
    border:1px solid #e0e8f0;
    border-radius:13px;
    background:#f9fbfd;
}

.change-log-icon{
    flex:0 0 38px;
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#e8f8ef;
    color:#159653;
}

.change-log-item strong{
    color:#102b50;
}

.change-log-item p{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    margin:7px 0;
    color:#536b84;
    line-height:1.5;
}

.change-log-item small{
    color:#8193a5;
}

@media(max-width:700px){
    .edit-pet-header{
        flex-direction:column;
    }

    .protected-field-grid,
    .pet-edit-grid{
        grid-template-columns:1fr;
    }

    .pet-edit-full{
        grid-column:auto;
    }

    .pet-edit-actions{
        flex-direction:column-reverse;
    }

    .pet-edit-actions .btn{
        width:100%;
        justify-content:center;
    }
}

.photo-upload-dropzone{
    position:relative;
    min-height:210px;
    display:flex !important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:30px;
    border:2px dashed #b8c9d9;
    border-radius:18px;
    background:#f7fafc;
    text-align:center;
    cursor:pointer;
    transition:border-color .2s ease, background .2s ease;
}

.photo-upload-dropzone:hover{
    border-color:#159653;
    background:#f0faf5;
}

.photo-upload-dropzone input{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    opacity:0;
    pointer-events:none;
}

.photo-upload-icon{
    width:68px;
    height:68px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:15px;
    border-radius:50%;
    background:#e8f8ef;
    color:#159653;
    font-size:29px;
}

.photo-upload-dropzone strong{
    color:#102b50;
    font-size:17px;
}

.photo-upload-dropzone small{
    margin-top:8px;
    color:#64748b;
    font-weight:500;
}

.photo-upload-preview{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
    margin-top:18px;
}

.photo-preview-item{
    min-width:0;
}

.photo-preview-item img{
    width:100%;
    aspect-ratio:1 / 1;
    display:block;
    object-fit:cover;
    border-radius:12px;
    background:#eaf1f7;
}

.photo-preview-item span{
    display:block;
    margin-top:6px;
    overflow:hidden;
    color:#536b84;
    font-size:11px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.photo-manager-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.photo-manager-card{
    overflow:hidden;
    border:1px solid #dce6f2;
    border-radius:17px;
    background:#fff;
}

.photo-manager-card.is-main-photo{
    border-color:#159653;
    box-shadow:0 0 0 3px rgba(21,150,83,.08);
}

.photo-manager-image{
    position:relative;
    aspect-ratio:4 / 3;
    overflow:hidden;
    background:#eaf1f7;
}

.photo-manager-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.photo-main-badge{
    position:absolute;
    top:10px;
    left:10px;
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 10px;
    border-radius:999px;
    background:rgba(6,27,58,.9);
    color:#fff;
    font-size:11px;
    font-weight:900;
}

.photo-manager-information{
    padding:14px 15px 8px;
}

.photo-manager-information span,
.photo-manager-information small{
    display:block;
}

.photo-manager-information span{
    color:#102b50;
    font-weight:800;
}

.photo-manager-information small{
    margin-top:5px;
    color:#71859a;
}

.photo-manager-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:10px 15px 15px;
}

.photo-manager-actions form{
    flex:1;
    margin:0;
}

.photo-manager-actions button{
    width:100%;
    justify-content:center;
}

.btn-photo-delete{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:10px 13px;
    border:1px solid #efb3ad;
    border-radius:10px;
    background:#fff3f2;
    color:#a52a21;
    font-weight:800;
    cursor:pointer;
}

.btn-photo-delete:hover{
    background:#ffe8e6;
}

@media(max-width:900px){
    .photo-manager-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .photo-upload-preview{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}

@media(max-width:600px){
    .photo-manager-grid{
        grid-template-columns:1fr;
    }

    .photo-upload-preview{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .photo-manager-actions{
        flex-direction:column;
    }
}

.pet-transfer-status{
    background:#eef2ff;
    color:#3949a0;
}

.transfer-warning{
    border-color:#f1d58c;
    background:#fffaf0;
}

.transfer-warning h2 i{
    color:#ad7100;
}

.transfer-warning p{
    color:#654b17;
    line-height:1.7;
}

.transfer-warning p:last-child{
    margin-bottom:0;
}

.transfer-pending-card{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.transfer-pending-card > div{
    padding:15px;
    border-radius:13px;
    background:#f6f9fc;
}

.transfer-pending-card span,
.transfer-pending-card strong{
    display:block;
}

.transfer-pending-card span{
    margin-bottom:6px;
    color:#64748b;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.transfer-pending-card strong{
    color:#102b50;
    overflow-wrap:anywhere;
}

.transfer-owner-message{
    margin-top:17px;
    padding:16px;
    border-left:4px solid #159653;
    border-radius:10px;
    background:#f4faf7;
    color:#405a73;
    line-height:1.7;
}

.transfer-cancel-form{
    margin-top:20px;
}

.transfer-confirmation{
    margin-top:0;
}

.transfer-confirmation span strong,
.transfer-confirmation span small{
    display:block;
}

.transfer-confirmation span small{
    margin-top:6px;
    color:#64748b;
}

@media(max-width:650px){
    .transfer-pending-card{
        grid-template-columns:1fr;
    }

    .transfer-cancel-form button{
        width:100%;
    }
}

.transfer-public-card{
    width:min(100%,760px);
    margin:0 auto;
    padding:38px;
    border:1px solid #dce6f2;
    border-radius:24px;
    background:#fff;
    box-shadow:0 24px 65px rgba(6,27,58,.11);
}

.transfer-public-card h1{
    margin:0;
    color:#061b3a;
    font-size:31px;
    text-align:center;
}

.transfer-public-details{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:25px;
}

.transfer-public-details > div{
    padding:15px;
    border-radius:13px;
    background:#f6f9fc;
}

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

.transfer-public-details span{
    margin-bottom:6px;
    color:#64748b;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.transfer-public-details strong{
    color:#102b50;
    overflow-wrap:anywhere;
}

.transfer-public-notice{
    margin-top:22px;
}

@media(max-width:650px){
    .transfer-public-card{
        padding:26px 18px;
    }

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

.transfer-public-actions{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:24px;
}

.transfer-create-account{
    margin-top:25px;
    padding:22px;
    border:1px solid #dce6f2;
    border-radius:16px;
    background:#f8fbfd;
}

.transfer-create-account h2{
    margin:0;
    color:#061b3a;
    font-size:21px;
}

.transfer-create-account > p{
    color:#61758a;
    line-height:1.6;
}

.transfer-decline-form{
    display:flex;
    justify-content:center;
    margin-top:18px;
}

@media(max-width:600px){
    .transfer-public-actions{
        flex-direction:column;
    }

    .transfer-public-actions .btn,
    .transfer-decline-form button{
        width:100%;
        justify-content:center;
    }
}

.visibility-help-box{
    margin-top:18px;
    padding:20px;
    border:1px solid #d8e5f0;
    border-radius:16px;
    background:#f7fafc;
    color:#29415b;
    line-height:1.65;
    transition:
        border-color .2s ease,
        background-color .2s ease;
}

.visibility-help-box[data-visibility="public"]{
    border-color:#b9d9f4;
    background:#f4faff;
}

.visibility-help-box[data-visibility="limited"]{
    border-color:#b9e3c9;
    background:#f4fbf7;
}

.visibility-help-box[data-visibility="private"]{
    border-color:#d7dcea;
    background:#f7f8fc;
}

.visibility-help-heading{
    display:flex;
    gap:13px;
    align-items:flex-start;
}

.visibility-help-icon{
    flex:0 0 auto;
    font-size:27px;
    line-height:1;
}

.visibility-help-heading h3{
    margin:0;
    color:#102b50;
    font-size:18px;
}

.visibility-help-heading p{
    margin:5px 0 0;
    color:#536b84;
}

.visibility-help-columns{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin-top:18px;
}

.visibility-help-columns > div{
    padding:15px;
    border-radius:12px;
    background:rgba(255,255,255,.72);
}

.visibility-help-columns strong{
    display:block;
    margin-bottom:9px;
    color:#102b50;
    font-size:13px;
}

.visibility-help-columns ul{
    margin:0;
    padding:0;
    list-style:none;
}

.visibility-help-columns li{
    position:relative;
    margin-top:7px;
    padding-left:23px;
    color:#49647d;
    font-size:13px;
}

.visibility-visible-list li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    color:#159653;
    font-weight:900;
}

.visibility-hidden-list li::before{
    content:"×";
    position:absolute;
    left:1px;
    top:0;
    color:#b42318;
    font-weight:900;
}

.visibility-recommended{
    display:flex;
    gap:11px;
    align-items:flex-start;
    margin-top:17px;
    padding:14px;
    border:1px solid #b9e3c9;
    border-radius:12px;
    background:#eaf8f0;
    color:#17613d;
}

.visibility-recommended i{
    margin-top:3px;
}

.visibility-recommended strong,
.visibility-recommended span{
    display:block;
}

.visibility-recommended span{
    margin-top:4px;
    font-size:13px;
    line-height:1.55;
}

.visibility-private-note{
    margin-top:17px;
    padding:13px;
    border-radius:11px;
    background:#eef1f7;
    color:#40556e;
    font-size:13px;
    font-weight:700;
}

@media(max-width:650px){
    .visibility-help-columns{
        grid-template-columns:1fr;
    }

    .visibility-help-box{
        padding:16px;
    }
}

.btn-report-lost{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:10px 13px;
    border:1px solid #dc2626;
    border-radius:10px;
    background:#dc2626;
    color:#fff;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
}

.btn-report-lost:hover{
    background:#b91c1c;
    border-color:#b91c1c;
}

.btn-found{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:10px 13px;
    border:1px solid #159653;
    border-radius:10px;
    background:#159653;
    color:#fff;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
}

.btn-found:hover{
    background:#107b43;
}

.lost-pet-page-header{
    display:flex;
    justify-content:space-between;
    gap:22px;
    align-items:flex-start;
    margin-bottom:24px;
    padding:25px;
    border:1px solid #fecaca;
    border-radius:21px;
    background:#fff7f7;
    box-shadow:0 14px 42px rgba(127,29,29,.08);
}

.lost-pet-page-header h1{
    margin:7px 0;
    color:#7f1d1d;
    font-size:32px;
}

.lost-pet-page-header p{
    margin:0;
    color:#7c4545;
    line-height:1.65;
}

.lost-pet-status-badge{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:9px 13px;
    border-radius:999px;
    background:#dc2626;
    color:#fff;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    white-space:nowrap;
}

.lost-report-warning{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:19px;
    border:1px solid #fecaca;
    border-radius:16px;
    background:#fff1f2;
    color:#881337;
}

.lost-report-warning > i{
    margin-top:3px;
    font-size:22px;
}

.lost-report-warning strong{
    display:block;
}

.lost-report-warning p{
    margin:6px 0 0;
    line-height:1.6;
}

.lost-privacy-note{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin-top:16px;
    padding:14px;
    border-radius:12px;
    background:#eff6ff;
    color:#1e4f7a;
    font-size:13px;
    line-height:1.55;
}

.lost-confirmation{
    margin-top:0;
    border:1px solid #fecaca;
    background:#fff7f7;
}

.lost-alert-active-card{
    margin-bottom:20px;
    padding:24px;
    border:2px solid #dc2626;
    border-radius:19px;
    background:#fff;
    box-shadow:0 15px 42px rgba(127,29,29,.10);
}

.lost-alert-active-title{
    display:flex;
    gap:14px;
    align-items:flex-start;
}

.lost-alert-active-title > i{
    color:#dc2626;
    font-size:28px;
}

.lost-alert-active-title h2{
    margin:0;
    color:#7f1d1d;
}

.lost-alert-active-title p{
    margin:6px 0 0;
    color:#7c4545;
}

.lost-alert-summary-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin-top:20px;
}

.lost-alert-summary-grid > div{
    padding:14px;
    border-radius:12px;
    background:#fff1f2;
}

.lost-alert-summary-grid span,
.lost-alert-summary-grid strong{
    display:block;
}

.lost-alert-summary-grid span{
    margin-bottom:5px;
    color:#9f5555;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.lost-alert-summary-grid strong{
    color:#7f1d1d;
}

.lost-alert-actions{
    display:flex;
    gap:10px;
    margin-top:18px;
}

@media(max-width:750px){
    .lost-pet-page-header{
        flex-direction:column;
    }

    .lost-alert-summary-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:480px){
    .lost-alert-summary-grid{
        grid-template-columns:1fr;
    }

    .lost-alert-actions .btn{
        width:100%;
        justify-content:center;
    }
}

.lost-owner-sightings-list{
    display:grid;
    gap:15px;
}

.lost-owner-sighting-card{
    padding:18px;
    border:1px solid #e1e8ef;
    border-radius:15px;
    background:#f9fbfd;
}

.lost-owner-sighting-header{
    display:flex;
    justify-content:space-between;
    gap:15px;
    align-items:flex-start;
}

.lost-owner-sighting-header strong,
.lost-owner-sighting-header span{
    display:block;
}

.lost-owner-sighting-header strong{
    color:#102b50;
    font-size:17px;
}

.lost-owner-sighting-header div > span{
    margin-top:4px;
    color:#7a8da0;
    font-size:12px;
}

.lost-sighting-status{
    padding:6px 9px;
    border-radius:999px;
    background:#fff1f2;
    color:#9f1239;
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
}

.lost-owner-sighting-meta{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:14px;
    color:#5a7188;
    font-size:13px;
}

.lost-owner-sighting-meta i{
    margin-right:5px;
    color:#dc2626;
}

.lost-sighting-location,
.lost-sighting-message{
    color:#405a73;
    line-height:1.65;
}

.lost-sighting-location{
    margin:14px 0 0;
}

.lost-sighting-message{
    margin:12px 0 0;
    padding:14px;
    border-radius:11px;
    background:#fff;
}

.lost-sighting-photo{
    display:block;
    width:min(100%,300px);
    margin-top:14px;
}

.lost-sighting-photo img{
    width:100%;
    display:block;
    border-radius:12px;
}

.lost-owner-contact-details{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:15px;
}

.lost-owner-contact-details a{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:8px 11px;
    border:1px solid #cbd8e4;
    border-radius:9px;
    background:#fff;
    color:#16466e;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
}

@media(max-width:600px){
    .lost-owner-sighting-header{
        flex-direction:column;
    }

    .lost-owner-contact-details{
        flex-direction:column;
    }

    .lost-owner-contact-details a{
        width:100%;
        box-sizing:border-box;
    }
}

/* Lost alert phone, WhatsApp and email fields */

.lost-contact-fields-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.lost-contact-fields-grid label{
    min-width:0;
}

.lost-contact-fields-grid input{
    width:100%;
    box-sizing:border-box;
}

.lost-contact-fields-grid small{
    display:block;
    margin-top:6px;
    color:#71859a;
    font-size:11px;
    font-weight:500;
    line-height:1.45;
}

@media(max-width:850px){
    .lost-contact-fields-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .lost-contact-fields-grid label:last-child{
        grid-column:1 / -1;
    }
}

@media(max-width:560px){
    .lost-contact-fields-grid{
        grid-template-columns:1fr;
    }

    .lost-contact-fields-grid label:last-child{
        grid-column:auto;
    }
}

/* Force lost-pet contact fields onto one row on desktop */

.pet-edit-form .pet-edit-grid.lost-contact-fields-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}

.pet-edit-form .pet-edit-grid.lost-contact-fields-grid > label{
    min-width:0;
    grid-column:auto;
}

.pet-edit-form .pet-edit-grid.lost-contact-fields-grid input{
    width:100%;
    min-width:0;
    box-sizing:border-box;
}

@media(max-width:850px){
    .pet-edit-form .pet-edit-grid.lost-contact-fields-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .pet-edit-form .pet-edit-grid.lost-contact-fields-grid > label:last-child{
        grid-column:1 / -1;
    }
}

@media(max-width:560px){
    .pet-edit-form .pet-edit-grid.lost-contact-fields-grid{
        grid-template-columns:1fr;
    }

    .pet-edit-form .pet-edit-grid.lost-contact-fields-grid > label:last-child{
        grid-column:auto;
    }
}

/* Lost-pet precise location maps */

.lost-location-map-field{
    margin-top:20px;
    padding:18px;
    border:1px solid #d8e4ed;
    border-radius:16px;
    background:#f8fbfd;
}

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

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

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

.lost-location-map-heading span{
    margin-top:4px;
    color:#647b91;
    font-size:12px;
    line-height:1.5;
}

.lost-location-gps-button{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:40px;
    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-location-gps-button:hover{
    background:#eaf8f0;
}

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

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

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

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

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

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

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

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

/* Owner management for lost-pet sighting reports */

.lost-sighting-management-form{
    margin-top:18px;
    padding:17px;
    border:1px solid #d8e4ed;
    border-radius:14px;
    background:#fff;
}

.lost-sighting-management-heading{
    margin-bottom:15px;
}

.lost-sighting-management-heading > div{
    display:flex;
    align-items:flex-start;
    gap:10px;
}

.lost-sighting-management-heading i{
    margin-top:3px;
    color:#159653;
}

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

.lost-sighting-management-heading strong{
    color:#102b50;
}

.lost-sighting-management-heading span{
    margin-top:4px;
    color:#71859a;
    font-size:11px;
    line-height:1.5;
}

.lost-sighting-management-grid{
    display:grid;
    grid-template-columns:230px minmax(0,1fr);
    gap:14px;
    align-items:start;
}

.lost-sighting-management-grid label{
    color:#12365d;
    font-size:12px;
    font-weight:900;
}

.lost-sighting-management-grid select,
.lost-sighting-management-grid textarea{
    width:100%;
    box-sizing:border-box;
    margin-top:7px;
    padding:11px 12px;
    border:1px solid #cbd8e4;
    border-radius:9px;
    background:#fff;
    color:#102b50;
    font:inherit;
}

.lost-sighting-management-grid textarea{
    resize:vertical;
    line-height:1.55;
}

.lost-sighting-management-grid select:focus,
.lost-sighting-management-grid textarea:focus{
    border-color:#159653;
    outline:none;
    box-shadow:0 0 0 3px rgba(21,150,83,.10);
}

.lost-sighting-quick-actions{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:14px;
}

.lost-sighting-action-button{
    min-height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:0 10px;
    border:1px solid #cbd8e4;
    border-radius:8px;
    background:#f8fafc;
    color:#405a73;
    font:inherit;
    font-size:11px;
    font-weight:900;
    cursor:pointer;
}

.lost-sighting-action-button:hover{
    background:#eef3f7;
}

.lost-sighting-action-button.is-reviewed{
    border-color:#a9c8e7;
    color:#185989;
}

.lost-sighting-action-button.is-contacted{
    border-color:#b8c9df;
    color:#294f79;
}

.lost-sighting-action-button.is-helpful{
    border-color:#a8dfbe;
    color:#17613d;
    background:#f1fbf5;
}

.lost-sighting-action-button.is-irrelevant{
    border-color:#d8dee6;
    color:#596b7e;
}

.lost-sighting-action-button.is-spam{
    border-color:#f0b8b3;
    color:#9f1d18;
    background:#fff7f7;
}

.lost-sighting-action-button.is-closed{
    border-color:#c6cbd2;
    color:#384554;
}

.lost-sighting-save-row{
    display:flex;
    justify-content:flex-end;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid #e5ebf1;
}

.lost-sighting-save-row .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
}

@media(max-width:720px){
    .lost-sighting-management-grid{
        grid-template-columns:1fr;
    }

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

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

    .lost-sighting-save-row .btn{
        width:100%;
    }
}

@media(max-width:430px){
    .lost-sighting-management-form{
        padding:13px;
    }

    .lost-sighting-quick-actions{
        grid-template-columns:1fr;
    }
}

/* Owner lost-pet sightings map */

.lost-owner-map-section{
    overflow:hidden;
}

.lost-owner-map-section
.dashboard-section-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
}

.lost-owner-map-section
.dashboard-section-header h2{
    margin-bottom:4px;
}

.lost-owner-map-count{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 11px;
    border-radius:999px;
    background:#eef6fc;
    color:#245b88;
    font-size:11px;
    font-weight:900;
    white-space:nowrap;
}

.lost-owner-map-legend{
    display:flex;
    flex-wrap:wrap;
    gap:10px 18px;
    margin:16px 0 14px;
    padding:12px 14px;
    border-radius:11px;
    background:#f7fafc;
}

.lost-owner-map-legend span{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#506a83;
    font-size:11px;
    font-weight:800;
}

.lost-owner-map-dot{
    width:11px;
    height:11px;
    display:inline-block;
    border:2px solid currentColor;
    border-radius:50%;
    box-sizing:border-box;
}

.lost-owner-map-dot.is-last-known{
    color:#dc2626;
    background:#dc2626;
}

.lost-owner-map-dot.is-new{
    color:#c98a00;
    background:#f0b429;
}

.lost-owner-map-dot.is-reviewed{
    color:#2563a5;
    background:#3182ce;
}

.lost-owner-map-dot.is-helpful{
    color:#159653;
    background:#159653;
}

.lost-owner-sightings-map{
    width:100%;
    height:470px;
    overflow:hidden;
    border:1px solid #cbd8e4;
    border-radius:15px;
    background:#e7eef4;
    z-index:1;
}

.lost-owner-map-help{
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin-top:11px;
    padding:11px 13px;
    border-radius:10px;
    background:#f7fafc;
    color:#61788d;
    font-size:11px;
    line-height:1.55;
}

.lost-owner-map-help i{
    margin-top:2px;
    color:#3f7199;
}

.lost-owner-map-popup{
    min-width:190px;
    display:grid;
    gap:5px;
    color:#405a73;
    font-size:12px;
    line-height:1.45;
}

.lost-owner-map-popup strong{
    color:#102b50;
    font-size:14px;
}

.lost-owner-map-popup p{
    margin:4px 0 0;
}

.lost-owner-map-popup a{
    display:inline-flex;
    width:max-content;
    margin-top:6px;
    color:#159653;
    font-weight:900;
    text-decoration:none;
}

.lost-owner-map-popup-status{
    width:max-content;
    padding:4px 7px;
    border-radius:999px;
    background:#eef3f7;
    color:#52687d;
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
}

@media(max-width:720px){
    .lost-owner-map-section
    .dashboard-section-header{
        flex-direction:column;
    }

    .lost-owner-sightings-map{
        height:380px;
    }
}

@media(max-width:440px){
    .lost-owner-map-legend{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .lost-owner-sightings-map{
        height:315px;
        border-radius:11px;
    }
}

/* ==========================================================
   Stripe Payment Button
   ========================================================== */

.btn-pay-stripe{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    background:#3E1AB9 !important;
    border:1px solid #3E1AB9 !important;
    color:#FFFFFF !important;

    text-decoration:none;
    transition:.2s ease;
}

.btn-pay-stripe:hover{
    background:#2F148C !important;
    border-color:#2F148C !important;
    color:#FFFFFF !important;
}

.btn-pay-stripe:focus{
    background:#2F148C !important;
    border-color:#2F148C !important;
    color:#FFFFFF !important;
    box-shadow:0 0 0 4px rgba(62,26,185,.20);
}

.btn-pay-stripe:active{
    background:#281178 !important;
    border-color:#281178 !important;
    color:#FFFFFF !important;
}

.btn-pay-stripe i,
.btn-pay-stripe svg{
    color:#FFFFFF !important;
    fill:currentColor;
}


/* Pet edit: interactive action buttons */
.pet-edit-actions button.btn,
.pet-edit-actions button.btn *,
.pet-edit-actions .btn-green,
.pet-edit-actions .btn-green * {
    cursor: pointer !important;
}

/* LOST PET COUNTRY SELECTOR */
.cr-country-field {
    position: relative;
    margin-top: 8px;
    width: 100%;
}

.cr-country-trigger {
    width: 100%;
    min-height: 52px;
    border: 1px solid #cfd9e6;
    border-radius: 12px;
    padding: 14px 15px;
    background: #fff;
    color: var(--navy, #061b3a);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
}

.cr-country-trigger [data-country-current] {
    flex: 1;
}

.cr-country-trigger .fa-chevron-down {
    font-size: 13px;
}

.cr-country-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dce6f2;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(6, 27, 58, .18);
    padding: 12px;
    z-index: 99999;
}

.cr-country-field.open .cr-country-menu {
    display: block;
}

.cr-country-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.cr-country-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
}

.cr-country-options {
    max-height: 300px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.cr-country-options button {
    width: 100%;
    border: 0;
    background: #fff;
    color: var(--navy, #061b3a);
    padding: 11px 12px;
    text-align: left;
    border-radius: 10px;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.cr-country-options button:hover,
.cr-country-options button:focus {
    background: #f1f5f9;
    outline: none;
}

@media (max-width: 700px) {
    .cr-country-menu {
        position: fixed;
        top: 12%;
        right: 18px;
        bottom: auto;
        left: 18px;
        max-height: 76vh;
    }

    .cr-country-options {
        max-height: 58vh;
    }
}

/* CHIPREGISTER_OWNER_DASHBOARD_PHOTO_FINAL_START */
/*
 * Mostra l'immagine originale senza ritaglio.
 * La larghezza resta coerente con la card;
 * l'altezza segue automaticamente il rapporto della foto.
 */
.pet-dashboard-card .pet-dashboard-photo {
    flex: 0 0 125px !important;
    width: 125px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-self: flex-start !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 14px;
    background: #eaf1f7;
}

.pet-dashboard-card .pet-dashboard-photo img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: initial !important;
    object-position: initial !important;
}

.pet-dashboard-card .pet-dashboard-placeholder {
    width: 125px;
    min-height: 125px;
}

@media (max-width: 700px) {
    .pet-dashboard-card .pet-dashboard-photo {
        flex-basis: auto !important;
        width: min(100%, 360px) !important;
        height: auto !important;
        margin-right: auto;
        margin-left: auto;
    }

    .pet-dashboard-card .pet-dashboard-photo img {
        width: 100% !important;
        height: auto !important;
    }
}
/* CHIPREGISTER_OWNER_DASHBOARD_PHOTO_FINAL_END */

/* CHIPREGISTER_PET_DETAIL_FULL_PHOTO_V1_START */
/*
 * Pagina /dashboard/pet:
 * mostra la fotografia originale completamente,
 * senza ritaglio e senza altezza fissa.
 */
.pet-detail-header-photo {
    flex: 0 0 160px !important;
    width: 160px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-self: flex-start !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 14px;
}

.pet-detail-header-photo img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: initial !important;
    object-position: initial !important;
}

@media (max-width: 700px) {
    .pet-detail-header-photo {
        flex-basis: auto !important;
        width: min(100%, 360px) !important;
        height: auto !important;
        margin-right: auto;
        margin-left: auto;
    }

    .pet-detail-header-photo img {
        width: 100% !important;
        height: auto !important;
    }
}
/* CHIPREGISTER_PET_DETAIL_FULL_PHOTO_V1_END */

