/* ===========================
   MEUS ANÚNCIOS
===========================*/

.my-ads-summary{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-bottom:28px;
}

.my-ads-card{
    background:#fff;
    border-radius:22px;
    padding:24px;
    display:flex;
    align-items:center;
    gap:18px;
    box-shadow:0 15px 35px rgba(10,25,45,.08);
    border:1px solid rgba(15,23,42,.05);
    transition:.25s;
}

.my-ads-card:hover{
    transform:translateY(-4px);
}

.my-ads-info{
    display:flex;
    flex-direction:column;
}

.my-ads-info p{
    margin:0;
    color:#64748b;
    font-size:14px;
    font-weight:800;
}

.my-ads-info strong{
    display:block;
    margin-top:6px;
    font-size:34px;
    color:#0f172a;
}

.my-ads-card p{
    margin:0;
    color:#64748b;
    font-size:14px;
    font-weight:600;
}

.my-ads-card strong{
    display:block;
    margin-top:6px;
    font-size:34px;
    color:#0f172a;
}

/* ===========================
   PAINEL
===========================*/

.my-ads-panel{
    padding:26px;
}

.my-ads-toolbar{
    display:flex;
    gap:15px;
    margin-bottom:24px;
}

.my-ads-toolbar input{
    flex:1;
    height:48px;
    border:1px solid #dbe3ee;
    border-radius:14px;
    padding:0 18px;
    font-size:15px;
    outline:none;
    transition:.2s;
}

.my-ads-toolbar input:focus{
    border-color:#22c55e;
}

.my-ads-toolbar select{
    width:220px;
    height:48px;
    border:1px solid #dbe3ee;
    border-radius:14px;
    padding:0 16px;
    font-size:15px;
    background:#fff;
}

/* ===========================
   LISTA
===========================*/

.my-ads-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

/* ===========================
   CARD
===========================*/

.ad-card{
    background:#fff;
    border:1px solid #e7edf5;
    border-radius:22px;
    padding:18px;
    display:grid;
    grid-template-columns:140px 1fr auto;
    gap:24px;
    align-items:center;
    transition:.25s;
}

.ad-card:hover{
    border-color:#22c55e;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.ad-photo{
    width:140px;
    height:100px;
    border-radius:14px;
    object-fit:cover;
    background:#f5f7fa;
}

.ad-info h3{
    margin:0;
    font-size:23px;
    color:#111827;
}

.ad-price{
    margin-top:10px;
    font-size:28px;
    color:#16a34a;
    font-weight:700;
}

.ad-status{
    display:inline-flex;
    margin-top:14px;
    padding:7px 14px;
    border-radius:999px;
    background:#dcfce7;
    color:#15803d;
    font-weight:700;
    font-size:13px;
}

.ad-metrics{
    display:flex;
    gap:30px;
    margin-top:18px;
}

.metric{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.metric span{
    font-size:13px;
    color:#64748b;
}

.metric strong{
    font-size:22px;
    color:#0f172a;
}

/* ===========================
   BOTÕES
===========================*/

.ad-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
    min-width:180px;
}

.ad-actions button{
    height:44px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-size:14px;
    font-weight:700;
    transition:.2s;
}

.btn-edit{
    background:#2563eb;
    color:#fff;
}

.btn-edit:hover{
    background:#1d4ed8;
}

.btn-stats{
    background:#22c55e;
    color:#fff;
}

.btn-stats:hover{
    background:#16a34a;
}

.btn-delete{
    background:#ef4444;
    color:#fff;
}

.btn-delete:hover{
    background:#dc2626;
}

/* ===========================
   EMPTY
===========================*/

.empty-state.small{
    padding:70px;
    text-align:center;
}

.empty-state.small h4{
    font-size:24px;
    color:#1e293b;
}

.empty-state.small p{
    margin-top:10px;
    color:#64748b;
}

/* ===========================
   RESPONSIVO
===========================*/

@media(max-width:1200px){

.my-ads-summary{
grid-template-columns:repeat(2,1fr);
}

.ad-card{
grid-template-columns:120px 1fr;
}

.ad-actions{
grid-column:1/-1;
flex-direction:row;
justify-content:flex-end;
margin-top:20px;
}

}

@media(max-width:768px){

.my-ads-summary{
grid-template-columns:1fr;
}

.my-ads-toolbar{
flex-direction:column;
}

.my-ads-toolbar select{
width:100%;
}

.ad-card{
grid-template-columns:1fr;
text-align:center;
}

.ad-photo{
width:100%;
height:220px;
}

.ad-metrics{
justify-content:center;
flex-wrap:wrap;
}

.ad-actions{
flex-direction:column;
}

}