/* ==========================
   HASHLAB TOOLS UI
========================== */

.card{
    background:#161b22;
    border:1px solid #2d333b;
    border-radius:14px;
    padding:24px;
    margin:20px;
    color:#e6edf3;
    box-shadow:0 8px 24px rgba(0,0,0,.25);
}

.card h2{
    margin:0 0 20px;
    font-size:28px;
    font-weight:700;
    color:#fff;
}

.card p{
    color:#9da7b3;
    line-height:1.6;
}

.input,
select,
textarea{
    width:100%;
    box-sizing:border-box;
    padding:14px 16px;
    border-radius:10px;
    border:1px solid #30363d;
    background:#0d1117;
    color:#fff;
    font-size:15px;
    transition:.2s;
}

.input:focus,
select:focus,
textarea:focus{
    outline:none;
    border-color:#58a6ff;
    box-shadow:0 0 0 3px rgba(88,166,255,.15);
}

textarea{
    min-height:180px;
    resize:vertical;
    font-family:Consolas, monospace;
}

.btn{
    margin-top:15px;
    padding:12px 24px;
    border:none;
    border-radius:10px;
    background:#238636;
    color:#fff;
    cursor:pointer;
    font-weight:700;
    transition:.2s;
}

.btn:hover{
    background:#2ea043;
}

.table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

.table td{
    border-bottom:1px solid #30363d;
    padding:12px;
    vertical-align:top;
}

.table tr:last-child td{
    border-bottom:none;
}

.alert{
    padding:16px;
    border-radius:10px;
    margin:20px;
}

.alert-danger{
    background:#4b1d1d;
    border:1px solid #b62324;
    color:#ffd8d8;
}

.alert-success{
    background:#0f3b22;
    border:1px solid #238636;
    color:#d2ffd8;
}

.alert-info{
    background:#0d2745;
    border:1px solid #1f6feb;
    color:#d7ecff;
}

.mt-2{
    margin-top:15px;
}

.mb-3{
    margin-bottom:20px;
}

/* Open Graph */

.og-preview{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.og-preview img{
    width:260px;
    border-radius:10px;
    border:1px solid #333;
}

/* API */

.api-tabs{
    display:flex;
    gap:10px;
    margin:20px 0;
}

.api-tab{
    background:#21262d;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
}

.api-tab.active{
    background:#238636;
    color:#fff;
}

.api-response{
    background:#0d1117;
    border:1px solid #30363d;
    border-radius:10px;
    padding:20px;
    overflow:auto;
    font-family:Consolas, monospace;
    white-space:pre-wrap;
}

.status-badge{
    display:inline-block;
    padding:5px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
}

.status-success{
    background:#238636;
    color:#fff;
}

.status-warning{
    background:#d29922;
    color:#111;
}

.status-error{
    background:#da3633;
    color:#fff;
}

.btn-copy{

width:40px;
height:40px;

display:flex;
align-items:center;
justify-content:center;

background:#2a313c;

border:none;

border-radius:10px;

color:#fff;

cursor:pointer;

transition:.25s;

}

.btn-copy:hover{

background:#E4B63F;

color:#111;

}

.table code{

font-family:"JetBrains Mono",monospace;

font-size:14px;

word-break:break-all;

}