:root {
    --primary-color: #6a00ff;
    --secondary-color: #00e5ff;
    --bg-dark: #050505;
    --card-bg: rgba(20, 20, 30, 0.85);
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(106, 0, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.2) 0%, transparent 40%),
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-y: auto;
    padding: 40px 0;
}

body::before {
    content: "";
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background:
        linear-gradient(rgba(18,16,16,0) 50%, rgba(0,0,0,0.25) 50%),
        linear-gradient(90deg, rgba(255,0,0,0.06), rgba(0,255,0,0.02), rgba(0,0,255,0.06));
    background-size: 100% 2px, 3px 100%;
    pointer-events:none;
    z-index:0;
}

.login-container {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:16px;
    padding:3rem 2.5rem;
    width:100%;
    max-width:420px;
    box-shadow:0 0 40px rgba(0,0,0,0.6);
    position:relative;
    z-index:1;
    animation: cardEntrance .8s ease;
}

.login-container::after {
    content:'';
    position:absolute;
    inset:-2px;
    border-radius:18px;
    padding:2px;
    background:linear-gradient(45deg,var(--primary-color),transparent,var(--secondary-color));
    -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    pointer-events:none;
    opacity:.7;
}

@keyframes cardEntrance {
    from {opacity:0; transform:translateY(30px) scale(.95);}
    to {opacity:1; transform:translateY(0) scale(1);}
}

.logo-container{text-align:center;margin-bottom:2rem;}
.logo{max-width:140px;filter:drop-shadow(0 0 15px rgba(106,0,255,.6));}

.brand-title{
    font-family:'Orbitron',sans-serif;
    font-size:1.8rem;
    color:#fff;
    text-transform:uppercase;
    letter-spacing:2px;
}

.brand-subtitle{color:var(--text-muted);margin-bottom:2rem;}

.form-group{margin-bottom:1.5rem;}
.form-label{
    font-size:.85rem;
    color:var(--secondary-color);
    margin-bottom:.5rem;
    display:block;
    letter-spacing:1px;
}

.input-wrapper{position:relative;}

.form-input{
    width:100%;
    padding:1rem 1rem 1rem 3rem;
    border:1px solid rgba(255,255,255,0.1);
    border-radius:8px;
    background:rgba(0,0,0,.4);
    color:#fff;
    font-size:1rem;
}

.form-input:focus{
    border-color:var(--secondary-color);
    outline:none;
    box-shadow:0 0 15px rgba(0,229,255,.3);
}

.input-icon{
    position:absolute;
    left:1rem;
    top:50%;
    transform:translateY(-50%);
    color:var(--text-muted);
}

.login-button{
    width:100%;
    padding:1rem;
    background:linear-gradient(90deg,#6a00ff,#aa00ff);
    border:none;
    border-radius:8px;
    color:#fff;
    font-family:'Orbitron',sans-serif;
    letter-spacing:2px;
    cursor:pointer;
}

.login-button:hover{
    background:linear-gradient(90deg,#5500cc,#9900cc);
}

.register-button{
    display:block;
    text-align:center;
    margin-top:12px;
    padding:1rem;
    border-radius:8px;
    font-family:'Orbitron',sans-serif;
    letter-spacing:2px;
    text-decoration:none;
    color:var(--secondary-color);
    border:1px solid var(--secondary-color);
}

.register-button:hover{
    background:linear-gradient(90deg,#00e5ff,#6a00ff);
    color:#fff;
}

.footer-text{
    text-align:center;
    margin-top:2rem;
    font-size:.85rem;
    color:var(--text-muted);
}
/* ====== TABELAS RESPONSIVAS ====== */

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 10px;
}

.agents-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}

.agents-table th {
    background: linear-gradient(90deg, #7b00ff, #a100ff);
    color: #fff;
    padding: 12px;
    text-align: left;
    font-size: 13px;
    white-space: nowrap;
}

.agents-table td {
    padding: 10px;
    font-size: 13px;
    color: #e0e0e0;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.agents-table tr:hover {
    background: rgba(255,255,255,0.03);
}

/* Mobile */
@media (max-width: 768px) {
    .agents-table {
        min-width: 900px;
    }
}
/* ===== FUNDO GLOBAL ESCURECIDO ===== */
body::before {
    content: "";
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(5,5,15,0.85);
    z-index: -1;
}

/* ===== ÁREA DA PÁGINA ===== */
.content {
    max-width: 98%;
    margin: 20px auto;
    padding: 20px;
}

/* ===== CARD DA TABELA ===== */
.table-responsive {
    background: rgba(15,15,30,0.95);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.08);
}

/* ===== TABELA ===== */
.agents-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}

.agents-table th {
    background: linear-gradient(90deg,#7b00ff,#a100ff);
    color: #fff;
    padding: 12px;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}

.agents-table td {
    padding: 10px;
    font-size: 13px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
}

.agents-table tr:hover {
    background: rgba(255,255,255,0.04);
}

/* ===== BOTÃO VOLTAR ===== */
.back-button {
    background: linear-gradient(90deg,#7b00ff,#a100ff);
    padding: 8px 14px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.back-button:hover {
    filter: brightness(1.2);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .agents-table {
        min-width: 900px;
    }
}

