/* DAV Communication Portal v6.0.0 — Officer trusted-device login */

.trusted-login-option{
    display:flex !important;
    align-items:flex-start;
    gap:11px;
    width:100%;
    margin:14px 0 8px;
    padding:13px 14px;
    border:1px solid #cbd5e1;
    border-radius:12px;
    background:#f8fafc;
    cursor:pointer;
}

.trusted-login-option input{
    flex:0 0 auto !important;
    width:20px !important;
    min-width:20px !important;
    max-width:20px !important;
    height:20px !important;
    min-height:20px !important;
    margin:2px 0 0 !important;
    padding:0 !important;
}

.trusted-login-option span,
.trusted-login-option strong,
.trusted-login-option small{
    display:block;
}

.trusted-login-option span{
    min-width:0;
    flex:1 1 auto;
}

.trusted-login-option strong{
    color:#1f2937;
    line-height:1.35;
}

.trusted-login-option small{
    margin-top:4px;
    color:#667085;
    line-height:1.4;
}

.trusted-device-page{
    max-width:980px;
    margin:0 auto;
}

.trusted-device-intro{
    display:flex;
    align-items:flex-start;
    gap:16px;
}

.trusted-device-intro h1{
    margin:0 0 8px;
}

.trusted-device-intro p{
    margin:0;
    color:#667085;
}

.trusted-device-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    border-radius:14px;
    background:#e8f8ee;
    color:#14753a;
    font-size:1.25rem;
    font-weight:850;
}

.trusted-device-safety{
    margin:16px 0;
    padding:13px 15px;
    border:1px solid #efd28e;
    border-radius:12px;
    background:#fff8e7;
    color:#6f4a00;
}

.trusted-device-list{
    display:grid;
    gap:14px;
}

.trusted-device-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.trusted-device-details{
    min-width:0;
    flex:1 1 auto;
}

.trusted-device-title-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px;
}

.trusted-device-title-row h2{
    margin:0;
    font-size:1.1rem;
}

.trusted-device-current{
    display:inline-flex;
    padding:4px 9px;
    border-radius:999px;
    background:#e8f8ee;
    color:#14753a;
    font-size:.74rem;
    font-weight:850;
}

.trusted-device-card dl{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:10px;
    margin:14px 0 0;
}

.trusted-device-card dl div{
    min-width:0;
}

.trusted-device-card dt{
    color:#667085;
    font-size:.75rem;
    font-weight:750;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.trusted-device-card dd{
    margin:4px 0 0;
    overflow-wrap:anywhere;
}

.trusted-device-card form{
    flex:0 0 auto;
    margin:0;
}

.trusted-device-revoke-others{
    margin-top:16px;
    text-align:right;
}

.trusted-device-empty{
    text-align:center;
}

@media(max-width:760px){
    .trusted-login-option{
        display:flex !important;
    }

    .trusted-device-card{
        display:block;
    }

    .trusted-device-card dl{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .trusted-device-card form{
        margin-top:16px;
    }

    .trusted-device-card form button,
    .trusted-device-revoke-others button{
        width:100%;
    }

    .trusted-device-revoke-others{
        text-align:initial;
    }
}

@media(max-width:460px){
    .trusted-device-intro{
        display:block;
    }

    .trusted-device-icon{
        margin-bottom:12px;
    }

    .trusted-device-card dl{
        grid-template-columns:1fr;
    }
}
