/* CSS Global - Estética Tecnológica */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    color: #ffffff;
    position: relative;
    background: #0a0f1c;
}

/* Imagem de fundo */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/img/background/bg-tecnologia.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* Overlay escuro */
.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 15, 28, 0.75) 0%, rgba(13, 21, 37, 0.85) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Código binário flutuante */
@keyframes float {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.2; }
    90% { opacity: 0.2; }
    100% { transform: translateY(-100vh); opacity: 0; }
}

.binary-code {
    position: fixed;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(136, 153, 255, 0.15);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

/* Container principal */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Cards */
.card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(136, 153, 255, 0.2);
    overflow: hidden;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.card-header {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(27, 42, 63, 0.9) 100%);
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid rgba(136, 153, 255, 0.2);
}

.logo-img {
    max-width: 100px;
    margin-bottom: 15px;
}

.card-header h1 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.card-header p {
    opacity: 0.8;
    font-size: 0.85rem;
}

/* Conteúdo */
.card-content {
    padding: 25px;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #8899ff 0%, #6670cc 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(136, 153, 255, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.btn-secondary {
    background: rgba(108, 117, 125, 0.8);
}

/* Formulários */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #8899ff;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(136, 153, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    color: white;
    transition: all 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #8899ff;
    background: rgba(255, 255, 255, 0.15);
}

input::placeholder, select::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Tabelas */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(136, 153, 255, 0.2);
}

th {
    background: rgba(136, 153, 255, 0.15);
    font-weight: 600;
    color: #8899ff;
}

tr:hover {
    background: rgba(136, 153, 255, 0.05);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(46, 125, 50, 0.8);
    color: #a5d6a7;
}

.badge-danger {
    background: rgba(220, 38, 38, 0.8);
    color: #fecaca;
}

.badge-warning {
    background: rgba(243, 156, 18, 0.8);
    color: #fef3c7;
}

/* Footer */
.card-footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    text-align: center;
    font-size: 0.7rem;
    color: #606070;
    border-top: 1px solid rgba(136, 153, 255, 0.1);
}

/* Responsivo */
@media (max-width: 768px) {
    .container { padding: 20px; }
    .card-header h1 { font-size: 1.3rem; }
    .logo-img { max-width: 80px; }
    th, td { padding: 8px 10px; font-size: 0.8rem; }
}
