body{
    margin:0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background:#0f172a; /* azul oscuro profundo */
    color:#e2e8f0;
}

/* Sidebar */

.sidebar{
    width:220px;
    background:#111c3a; /* azul sidebar */
    height:100vh;
    position:fixed;
    padding:25px 20px;
    box-sizing:border-box;
    border-right:1px solid #1e2a52;
}

.logo{
    font-size:22px;
    font-weight:600;
    margin-bottom:40px;
    color:#60a5fa; /* azul brillante */
    letter-spacing:2px;
}

.sidebar a{
    display:block;
    color:#94a3b8;
    text-decoration:none;
    margin-bottom:18px;
    font-size:14px;
    transition:0.2s;
}

.sidebar a:hover{
    color:#60a5fa;
}

/* Main */

.main{
    margin-left:240px;
    padding:30px;
}

/* Cards */

.card{
    background:#1e293b; /* azul tarjeta */
    padding:25px;
    margin-bottom:25px;
    border-radius:12px;
    border:1px solid #24304f;
}

.card h3{
    margin-top:0;
    font-weight:600;
    color:#e2e8f0;
}

/* Forms */

.form-inline{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

input, select{
    padding:10px;
    border:1px solid #334155;
    border-radius:8px;
    background:#0f172a;
    color:#e2e8f0;
    font-size:14px;
}

input:focus, select:focus{
    outline:none;
    border-color:#3b82f6;
}

/* Buttons */

button{
    padding:10px 14px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:14px;
    background:#2563eb; /* azul principal */
    color:#fff;
    transition:.2s ease;
}

button:hover{
    background:#1d4ed8;
}

/* Domain API box */

.domain-box{
    background:#0f172a;
    padding:15px;
    margin-bottom:12px;
    border-radius:8px;
    font-size:13px;
    border:1px solid #24304f;
}

.api-url{
    font-size:12px;
    color:#94a3b8;
    display:block;
    margin-top:6px;
    word-break:break-all;
}

/* Domain toggle */

.domain-title{
    cursor:pointer;
    padding:12px 15px;
    background:#1e293b;
    border-radius:8px;
    margin-bottom:8px;
    font-weight:500;
    transition:.2s;
    border:1px solid #24304f;
}

.domain-title:hover{
    background:#273449;
}

/* Table */

.links-table{
    width:100%;
    border-collapse:collapse;
    margin-top:10px;
    font-size:14px;
    background:#1e293b;
    border-radius:10px;
    overflow:hidden;
}

.links-table th{
    text-align:left;
    padding:12px;
    font-weight:500;
    background:#16213e;
    border-bottom:1px solid #24304f;
    color:#94a3b8;
}

.links-table td{
    padding:12px;
    border-bottom:1px solid #24304f;
}

.links-table tr:hover{
    background:#22304a;
}

.links-table a{
    color:#60a5fa;
    text-decoration:none;
}

.links-table a:hover{
    text-decoration:underline;
}

/* Badge Custom */

.badge-custom{
    background:#10b981;
    color:#fff;
    font-size:11px;
    padding:4px 7px;
    border-radius:5px;
    margin-left:8px;
}

/* Delete button */

.delete-btn{
    background:#ef4444;
    padding:6px 10px;
    font-size:13px;
}

.delete-btn:hover{
    background:#dc2626;
}
/* =========================
   LOGIN DESIGN
========================= */

.center{
    display:flex;
    justify-content:center;
    align-items:center;
    height:100vh;
}

.login-card{
    background:#1e293b;
    padding:40px 35px;
    border-radius:16px;
    border:1px solid #24304f;
    width:320px;
    text-align:center;
    box-shadow:0 20px 60px rgba(0,0,0,0.35);
}

.login-card h2{
    margin:0 0 25px 0;
    color:#60a5fa;
    font-weight:600;
    letter-spacing:4px;
}

.login-inputs{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-bottom:20px;
}

.login-inputs input{
    width:60px;
    height:60px;
    text-align:center;
    font-size:22px;
    font-weight:600;
    border-radius:12px;
    border:1px solid #334155;
    background:#0f172a;
    color:#e2e8f0;
    transition:0.2s;
}

.login-inputs input:focus{
    outline:none;
    border-color:#3b82f6;
    box-shadow:0 0 0 2px rgba(59,130,246,0.3);
}

.login-btn{
    width:100%;
    padding:12px;
    font-size:15px;
    border-radius:10px;
}
