/* =========================================================
   Phoenix P3.7.3.1 — DarlinkForm
   ========================================================= */

.darlink-form-card{
    background:var(--darlink-card);
    border:1px solid var(--darlink-border);
    border-radius:18px;
    box-shadow:0 10px 30px rgba(15,23,42,.06);
    overflow:hidden;
}

.darlink-form-header{
    padding:20px 24px;
    border-bottom:1px solid var(--darlink-border);
    background:#fbfdff;
}

.darlink-form-title{
    font-weight:800;
    color:var(--darlink-dark);
    margin:0;
}

.darlink-form-body{
    padding:24px;
}

.darlink-form-group{
    margin-bottom:18px;
}

.darlink-label{
    display:block;
    font-weight:700;
    font-size:.88rem;
    color:#334155;
    margin-bottom:7px;
}

.darlink-input,
.darlink-select,
.darlink-textarea{
    width:100%;
    border:1px solid var(--darlink-border);
    border-radius:12px;
    background:#fff;
    color:var(--darlink-text);
    font-size:.95rem;
    padding:10px 13px;
    outline:none;
    transition:all .18s ease;
}

.darlink-input,
.darlink-select{
    height:44px;
}

.darlink-textarea{
    min-height:110px;
    resize:vertical;
}

.darlink-input:focus,
.darlink-select:focus,
.darlink-textarea:focus{
    border-color:#93c5fd;
    box-shadow:0 0 0 3px rgba(59,130,246,.12);
}

.darlink-form-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    padding:18px 24px;
    border-top:1px solid var(--darlink-border);
    background:#fbfdff;
}
.darlink-settings-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:8px;
    background:#fff;
    border:1px solid var(--darlink-border);
    border-radius:16px;
    box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.darlink-settings-tabs .nav-link{
    border:0;
    border-radius:11px;
    padding:10px 15px;
    color:#475569;
    font-size:.88rem;
    font-weight:700;
    transition:all .18s ease;
}

.darlink-settings-tabs .nav-link:hover{
    color:var(--darlink-primary);
    background:var(--darlink-primary-light);
}

.darlink-settings-tabs .nav-link.active{
    color:#fff;
    background:var(--darlink-primary);
    box-shadow:0 7px 18px rgba(15,76,129,.22);
}

.darlink-settings-tabs .nav-link i{
    font-size:1rem;
}
.darlink-switch-card{
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:14px 16px;
    border:1px solid var(--darlink-border);
    border-radius:12px;
    background:#fbfdff;
}

.darlink-password-field{
    position:relative;
}

.darlink-password-field .darlink-input{
    padding-right:48px;
}

.darlink-password-toggle{
    position:absolute;
    top:50%;
    right:12px;
    transform:translateY(-50%);
    border:0;
    background:transparent;
    color:#64748b;
    padding:5px;
}

.darlink-password-strength{
    padding:16px;
    border:1px solid var(--darlink-border);
    border-radius:14px;
    background:#fbfdff;
}

.darlink-password-strength-bar{
    height:8px;
    border-radius:999px;
    background:#e2e8f0;
    overflow:hidden;
}

.darlink-password-strength-value{
    width:0;
    height:100%;
    background:var(--darlink-primary);
    border-radius:999px;
    transition:width .2s ease;
}

.darlink-password-rules{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px 18px;
    color:#64748b;
    font-size:.86rem;
}

.darlink-password-rules .is-valid{
    color:#047857;
    font-weight:600;
}