/* ===========================
   TRUST POSITIF CHECKER PRO
   Theme : Black + Blue
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;
}

body{
    background:#0d1117;
    color:#fff;
    min-height:100vh;
}

/* Scrollbar */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#0d1117;
}

::-webkit-scrollbar-thumb{
    background:#1f6feb;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#388bfd;
}

/* Container */

.container{

    width:95%;
    max-width:1400px;

    margin:30px auto;

}

/* Header */

.header{

    text-align:center;

    margin-bottom:25px;

}

.header h1{

    color:#58a6ff;

    font-size:38px;

    margin-bottom:10px;

    text-shadow:0 0 15px rgba(88,166,255,.4);

}

.header p{

    color:#8b949e;

}

/* Card */

.card{

    background:#161b22;

    border:1px solid #30363d;

    border-radius:12px;

    padding:20px;

    margin-bottom:25px;

    box-shadow:

    0 5px 20px rgba(0,0,0,.35);

}

.card h3{

    color:#58a6ff;

    margin-bottom:15px;

}

/* Textarea */

textarea{

    width:100%;

    height:220px;

    background:#0d1117;

    border:1px solid #30363d;

    color:white;

    padding:15px;

    border-radius:8px;

    resize:vertical;

    outline:none;

    transition:.3s;

}

textarea:focus{

    border-color:#1f6feb;

    box-shadow:0 0 15px rgba(31,111,235,.35);

}

/* Search */

#search{

    width:100%;

    margin-bottom:15px;

    padding:12px;

    background:#0d1117;

    border:1px solid #30363d;

    border-radius:8px;

    color:white;

}

#search:focus{

    outline:none;

    border-color:#1f6feb;

}

/* Button */

.button-group{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

    margin-top:20px;

}

button{

    flex:1;

    min-width:150px;

    padding:14px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-weight:bold;

    transition:.3s;

    color:white;

}

/* Button Colors */

#startBtn{

    background:#238636;

}

#startBtn:hover{

    background:#2ea043;

}

#stopBtn{

    background:#da3633;

}

#stopBtn:hover{

    background:#f85149;

}

#clearBtn{

    background:#6e7681;

}

#clearBtn:hover{

    background:#8b949e;

}

#exportBtn{

    background:#1f6feb;

}

#exportBtn:hover{

    background:#388bfd;

}

/* Progress */

.progress{

    width:100%;

    background:#0d1117;

    border-radius:30px;

    overflow:hidden;

    height:28px;

    margin-top:10px;

    margin-bottom:20px;

    border:1px solid #30363d;

}

.progress-bar{

    height:100%;

    width:0%;

    background:linear-gradient(
        90deg,
        #1f6feb,
        #58a6ff
    );

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:13px;

    font-weight:bold;

    transition:.4s;

}

/* Stats */

.stats{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));

    gap:15px;

}

.box{

    background:#0d1117;

    border:1px solid #30363d;

    padding:18px;

    border-radius:10px;

    text-align:center;

}

.box span{

    display:block;

    font-size:32px;

    font-weight:bold;

    color:#58a6ff;

}

.box label{

    display:block;

    margin-top:8px;

    color:#8b949e;

}

.success span{

    color:#2ecc71;

}

.danger span{

    color:#ff4d4d;

}

.warning span{

    color:#f39c12;

}

/* Table */

table{

    width:100%;

    border-collapse:collapse;

}

thead{

    background:#1f6feb;

}

thead th{

    padding:14px;

    text-align:left;

}

tbody tr{

    border-bottom:1px solid #30363d;

    transition:.2s;

}

tbody tr:hover{

    background:#21262d;

}

tbody td{

    padding:12px;

}

/* Status */

.safe{

    color:#2ecc71;

    font-weight:bold;

}

.blocked{

    color:#ff4d4d;

    font-weight:bold;

}

.timeout{

    color:#f39c12;

    font-weight:bold;

}

.error{

    color:#8b949e;

    font-weight:bold;

}

/* Loading */

.loading{

    animation:blink 1s infinite;

}

@keyframes blink{

    50%{

        opacity:.4;

    }

}

/* Responsive */

@media(max-width:900px){

table{

    display:block;

    overflow:auto;

}

.button-group{

    flex-direction:column;

}

button{

    width:100%;

}

.header h1{

    font-size:28px;

}

textarea{

    height:180px;

}

}

/* Fade Animation */

.card{

    animation:fade .5s ease;

}

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}