/* =====================================================
   PASSWORD INPUT
===================================================== */

.password-input-group{
display:flex;
gap:10px;
margin-top:18px;
}

.password-input-group input{
flex:1;
padding:14px;
background:#111;
border:1px solid rgba(255,255,255,.08);
border-radius:12px;
color:#fff;
font-size:15px;
outline:none;
transition:.25s;
}

.password-input-group input:focus{
border-color:#4f46e5;
box-shadow:0 0 0 3px rgba(79,70,229,.15);
}

/* =====================================================
   STRENGTH METER
===================================================== */

.strength-box{
margin-top:20px;
}

.strength-bar{
width:100%;
height:12px;
background:#111;
border-radius:999px;
overflow:hidden;
border:1px solid rgba(255,255,255,.08);
}

.strength-fill{
height:100%;
width:0%;
background:#ef4444;
transition:.35s ease;
}

.strength-meta{
display:flex;
justify-content:space-between;
margin-top:8px;
font-size:13px;
color:#d1d5db;
}

/* =====================================================
   SETTINGS GRID
===================================================== */

.settings-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:12px;
margin-top:20px;
}

.setting-card{
background:#111;
border:1px solid rgba(255,255,255,.08);
border-radius:12px;
padding:15px;
transition:.25s;
}

.setting-card:hover{
border-color:rgba(79,70,229,.35);
}

.setting-card h3{
font-size:14px;
margin-bottom:12px;
color:#d1d5db;
}

.stat-number{
font-size:28px;
font-weight:700;
color:#fff;
}

/* =====================================================
   ANALYTICS
===================================================== */

.analytics-box{
margin-top:18px;
padding:16px;
background:#111;
border:1px solid rgba(255,255,255,.08);
border-radius:12px;
line-height:1.9;
font-size:14px;
}

/* =====================================================
   SECURITY CHECKS
===================================================== */

.analytics-box div{
padding:7px 0;
border-bottom:1px solid rgba(255,255,255,.05);
}

.analytics-box div:last-child{
border-bottom:none;
}

/* =====================================================
   STATUS COLORS
===================================================== */

.pass{
color:#22c55e;
font-weight:600;
}

.fail{
color:#ef4444;
font-weight:600;
}

.warning{
color:#f59e0b;
font-weight:600;
}

/* =====================================================
   SECTION DIVIDER
===================================================== */

.output-panel hr{
margin:24px 0;
border:none;
border-top:1px solid rgba(255,255,255,.08);
}

/* =====================================================
   SUMMARY
===================================================== */

#summaryBox span{
float:right;
font-weight:600;
color:#fff;
}

/* =====================================================
   RECOMMENDATIONS
===================================================== */

#recommendations ul{
margin:0;
padding-left:18px;
}

#recommendations li{
margin:8px 0;
}

.good{
color:#22c55e;
}

.medium{
color:#f59e0b;
}

.bad{
color:#ef4444;
}

/* =====================================================
   BUTTON GROUP
===================================================== */

.btn-group{
display:flex;
flex-wrap:wrap;
gap:10px;
}

/* =====================================================
   SMALL ANIMATION
===================================================== */

.fade{
animation:fade .25s ease;
}

@keyframes fade{

from{
opacity:0;
transform:translateY(6px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* =====================================================
   STRENGTH COLORS
===================================================== */

.strength-very-weak{
background:#dc2626;
}

.strength-weak{
background:#ea580c;
}

.strength-fair{
background:#d97706;
}

.strength-good{
background:#eab308;
}

.strength-strong{
background:#22c55e;
}

.strength-very-strong{
background:#16a34a;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:900px){

.settings-grid{
grid-template-columns:1fr;
}

.password-input-group{
flex-direction:column;
}

.password-input-group button{
width:100%;
}

.btn-group{
flex-direction:column;
}

.btn-group .btn{
width:100%;
}

.stat-number{
font-size:24px;
}

.analytics-box{
font-size:13px;
}

}

/* ==========================================
        Conversion Tables
        ========================================== */

        .conversion-table{
            margin:40px 0;
            overflow-x:auto;
            border-radius:18px;
            border:1px solid rgba(255,255,255,.08);
            background:rgba(255,255,255,.03);
            backdrop-filter:blur(14px);
        }

        .conversion-grid{
            width:100%;
            border-collapse:collapse;
            min-width:520px;
        }

        .conversion-grid thead{
            background:linear-gradient(
                90deg,
                #6366f1,
                #8b5cf6
            );
        }

        .conversion-grid th{
            color:#fff;
            font-size:16px;
            font-weight:700;
            padding:18px 24px;
            text-align:left;
        }

        .conversion-grid td{
            padding:18px 24px;
            border-bottom:1px solid rgba(255,255,255,.06);
            font-size:16px;
            color:#e5e7eb;
        }

        .conversion-grid tbody tr{
            transition:.25s;
        }

        .conversion-grid tbody tr:hover{
            background:rgba(99,102,241,.12);
        }

        .conversion-grid tbody tr:last-child td{
            border-bottom:none;
        }

        .conversion-grid td:first-child{
            font-weight:700;
            color:#60a5fa;
            font-size:17px;
        }

        .conversion-grid td:last-child{
            font-weight:700;
            color:#4ade80;
            font-size:17px;
        }
