/* Estilos exclusivos da página dashboard.php */

.dns-wrap{
    width:100%;
    max-width:none;
    margin:0;
    padding:0 18px;
}
.dns-card{
    border-radius:18px;
    overflow:hidden;
    width:100%;
    margin-bottom:18px;
}
.dns-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:18px 22px;
}
.dns-title{
    display:flex;
    align-items:center;
    gap:14px;
}
.dns-title .ic{
    width:44px;
    height:44px;
    min-width:44px;
    border-radius:14px;
    background:rgba(25,135,84,.10);
    border:1px solid rgba(25,135,84,.20);
    display:flex;
    align-items:center;
    justify-content:center;
}
.dns-title .ic i{
    font-size:24px;
    color:#198754;
}
.dns-title h5{
    margin:0;
    font-weight:900;
}
.dns-title span{
    display:block;
    margin-top:3px;
    font-size:13px;
    color:rgba(255,255,255,.55);
}
.badge-soft{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(25,135,84,.10);
    border:1px solid rgba(25,135,84,.20);
    color:#198754;
    font-weight:900;
    white-space:nowrap;
}
.kpi-grid{
    display:grid;
    grid-template-columns:repeat(12,1fr);
    gap:14px;
    margin-bottom:18px;
}
.kpi{
    grid-column:span 3;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(0,0,0,.06);
    background:rgba(255,255,255,.02);
    position:relative;
    cursor:default;
    transition:transform .12s ease, box-shadow .12s ease;
}
.kpi:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(0,0,0,.10);
}
.kpi.clickable{
    cursor:pointer;
}
.kpi-inner{
    padding:16px;
    display:flex;
    align-items:center;
    gap:14px;
}
.kpi-img{
    width:62px;
    height:62px;
    min-width:62px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,.03);
    border:1px solid rgba(0,0,0,.05);
    overflow:hidden;
}
.kpi-img img{
    width:44px;
    height:44px;
    object-fit:contain;
    opacity:.95;
}
.kpi-meta{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:2px;
}
.kpi-meta .v{
    font-size:28px;
    font-weight:1000;
    line-height:1;
}
.kpi-meta .s{
    font-size:13px;
    opacity:.75;
}
.kpi-tag{
    position:absolute;
    top:12px;
    right:12px;
    padding:6px 10px;
    border-radius:999px;
    font-weight:1000;
    font-size:11px;
    border:1px solid rgba(0,0,0,.08);
    background:rgba(0,0,0,.04);
}
.tag-danger{
    border-color:rgba(220,53,69,.22);
    background:rgba(220,53,69,.08);
    color:#dc3545;
}
.tag-success{
    border-color:rgba(25,135,84,.22);
    background:rgba(25,135,84,.08);
    color:#198754;
}
.tag-primary{
    border-color:rgba(13,110,253,.22);
    background:rgba(13,110,253,.08);
    color:#0d6efd;
}
.tag-purple{
    border-color:rgba(111,66,193,.22);
    background:rgba(111,66,193,.08);
    color:#6f42c1;
}
.table{
    margin:0;
}
.table thead th{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.6px;
    opacity:.75;
    font-weight:1000;
    white-space:nowrap;
}
.table td{
    padding-top:14px;
    padding-bottom:14px;
    vertical-align:middle;
}
.mac{
    font-weight:1000;
    letter-spacing:.2px;
}
.user-sub{
    font-size:12px;
    opacity:.75;
    margin-top:2px;
}
.badge{
    border-radius:999px;
    padding:7px 10px;
    font-weight:1000;
    letter-spacing:.2px;
}
.actions{
    display:flex;
    gap:10px;
    justify-content:center;
}
.action-btn{
    min-width:42px;
    height:38px;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    text-decoration:none;
    border:1px solid rgba(0,0,0,.08);
    background:rgba(0,0,0,.03);
    transition:transform .12s ease, box-shadow .12s ease;
    font-weight:900;
    padding:0 12px;
}
.action-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 20px rgba(0,0,0,.12);
}
.action-btn i{
    font-size:18px;
}
.input-radius{
    border-radius:14px !important;
    min-height:48px;
}
.save-btn{
    border-radius:14px;
    min-height:46px;
    font-weight:900;
    padding-left:22px;
    padding-right:22px;
}
.back-btn{
    border-radius:14px;
    min-height:46px;
    font-weight:900;
    padding-left:22px;
    padding-right:22px;
}
.modal-content{
    border-radius:20px !important;
    overflow:hidden;
}
.modal-header{
    background:rgba(0,0,0,.02);
    border-bottom:1px solid rgba(0,0,0,.06);
}
.small-muted{
    margin-top:3px;
    font-size:13px;
    color:rgba(255,255,255,.55);
}
.alert{
    border-radius:14px;
}
@media(max-width:992px){
    .kpi{
        grid-column:span 6;
    }
}
@media(max-width:575px){
    .dns-wrap{
        padding:0 8px;
    }
    .dns-header{
        align-items:flex-start;
        padding:16px;
    }
    .dns-title .ic{
        width:40px;
        height:40px;
        min-width:40px;
    }
    .dns-title .ic i{
        font-size:22px;
    }
    .dns-title h5{
        font-size:18px;
    }
    .badge-soft{
        padding:7px 10px;
        font-size:12px;
    }
    .kpi{
        grid-column:span 12;
    }
    .save-btn,
    .back-btn{
        width:100%;
    }
}

.pairing-card{border:1px solid rgba(0,0,0,.08);background:#fff!important;overflow:hidden}
.pairing-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,520px);gap:24px;align-items:center;padding:22px}
.pairing-copy h5{font-weight:900;margin:0 0 8px}.pairing-copy p{margin:0;opacity:.74;max-width:720px}.pairing-form{display:flex;gap:10px;align-items:center;background:rgba(255,255,255,.7);border:1px solid rgba(13,110,253,.18);padding:10px;border-radius:18px}.pairing-code{min-height:54px;border-radius:14px!important;text-align:center;font-size:24px;font-weight:900;letter-spacing:10px}.pairing-submit{min-height:54px;white-space:nowrap;border-radius:14px!important}@media(max-width:900px){.pairing-body{grid-template-columns:1fr}.pairing-form{flex-direction:column}.pairing-submit{width:100%}}
