/* ===========================
   GLOBAL
   =========================== */

html, body {
    margin: 0;
    padding: 0;
    background: #05080b;
    color: #c8f6ff;
    font-family: system-ui, sans-serif;
    position: relative;
    z-index: 0;
}

/* ===========================
   MATRIX BACKGROUND
   =========================== */
#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* ===========================
   HEADER OMNIX
   =========================== */

.omnix-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.omnix-header-title {
    font-size: 48px;
    color: #00eaff;
    margin: 0;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(0,234,255,0.6);
}

.omnix-header-sub {
    font-size: 18px;
    color: #c8f6ff;
    letter-spacing: 3px;
    margin-top: 8px;
    opacity: 0.9;
}

/* ===========================
   NAVBAR
   =========================== */

.navbar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 14px 20px;
    background: rgba(0, 234, 255, 0.08);
    border-bottom: 1px solid #00eaff;
    box-shadow: 0 0 12px rgba(0,234,255,0.25);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.navbar a {
    color: #c8f6ff;
    text-decoration: none;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: 0.2s;
}

.navbar a:hover {
    background: rgba(0, 234, 255, 0.25);
    color: #00eaff;
}

/* ===========================
   MAIN CONTAINER
   =========================== */

.main {
    max-width: 1320px;
    margin: 15px auto 0 auto;
    padding: 0 10px;
    position: relative;
    z-index: 5;
}

.title {
    text-align: center;
    font-size: 36px;
    color: #00eaff;
    margin-bottom: 40px;
    text-shadow: 0 0 18px rgba(0,234,255,0.55);
}

/* ===========================
   PODs PAGE
   =========================== */

.pods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.pod-card {
    background: rgba(11, 16, 21, 0.85);
    border: 1px solid #00eaff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 0 22px rgba(0,234,255,0.35);
    backdrop-filter: blur(6px);
}

.pod-card-main {
    grid-column: span 2;
}

.pod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pod-title {
    font-size: 22px;
    color: #00eaff;
    margin-bottom: 5px;
    font-weight: bold;
}

.pod-subtitle {
    font-size: 14px;
    color: #c8f6ff;
    opacity: 0.85;
}

.pod-status-badge {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
}

.pod-status-up {
    background: #00e676;
    color: #05080b;
}

.pod-status-down {
    background: #ff4444;
    color: #fff;
}

.pod-label {
    margin-top: 10px;
    margin-bottom: 6px;
    display: block;
    color: #c8f6ff;
}

.pod-select {
    width: 100%;
    padding: 12px;
    background: #11161c;
    border: 1px solid #00eaff;
    border-radius: 6px;
    color: #c8f6ff;
    margin-bottom: 20px;
}

/* BUTTONS */

.btn {
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    transition: 0.25s;
}

.btn-primary {
    background: #00eaff;
    color: #05080b;
}

.btn-danger {
    background: #ff4444;
    color: #fff;
}

.btn-secondary {
    background: #1a222b;
    color: #c8f6ff;
    border: 1px solid #00eaff;
}

.btn-small {
    padding: 8px 10px;
    font-size: 13px;
}

/* TABLE */

.vm-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.vm-table th,
.vm-table td {
    padding: 10px;
    border-bottom: 1px solid #00eaff;
    text-align: left;
    font-size: 14px;
}

.vm-status-badge {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
}

.vm-up {
    background: #00e676;
    color: #05080b;
}

.vm-down {
    background: #ff4444;
    color: #fff;
}

/* ===========================
   DASHBOARD - TOP GRID
   =========================== */

.omnix-grid-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.omnix-card {
    background: rgba(11, 16, 21, 0.85);
    border: 1px solid #00eaff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 0 22px rgba(0,234,255,0.35);
    backdrop-filter: blur(6px);
}

.omnix-card-title {
    font-size: 20px;
    color: #00eaff;
    margin-bottom: 10px;
    font-weight: bold;
}

.omnix-card-body {
    font-size: 15px;
    color: #c8f6ff;
}

/* ===========================
   DASHBOARD - POD TITLE
   =========================== */

.pod-title {
    font-size: 26px;
    color: #00eaff;
    margin: 30px 0 15px 0;
    text-shadow: 0 0 18px rgba(0,234,255,0.55);
}

/* ===========================
   DASHBOARD - VM GRID
   =========================== */

.px-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.px-vm-card {
    background: rgba(11, 16, 21, 0.85);
    border: 1px solid #00eaff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 0 22px rgba(0,234,255,0.35);
    backdrop-filter: blur(6px);
}

.px-vm-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.px-vm-name {
    font-size: 18px;
    font-weight: bold;
}

.vm-name-on {
    color: #00eaff;
}

.vm-name-off {
    color: #ff4444;
}

.px-vm-id {
    font-size: 14px;
    color: #c8f6ff;
}

.px-vm-status {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.px-up {
    background: #00e676;
    color: #05080b;
}

.px-down {
    background: #ff4444;
    color: #fff;
}

.px-vm-body {
    font-size: 15px;
    color: #c8f6ff;
}

/* ===========================
   LOGIN PAGE OMNIX PRO
   =========================== */

.login-container {
    max-width: 420px;
    margin: 120px auto;
    text-align: center;
}

.login-card {
    background: #0b1015;
    border: 1px solid #00eaff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 22px rgba(0,234,255,0.35);
    backdrop-filter: blur(6px);
}

.login-title {
    font-size: 42px;
    color: #00eaff;
    margin-bottom: 5px;
    text-shadow: 0 0 12px rgba(0,234,255,0.45);
}

.login-sub {
    font-size: 14px;
    color: #c8f6ff;
    letter-spacing: 3px;
    margin-bottom: 30px;
    opacity: 0.85;
}

.login-card-title {
    font-size: 20px;
    color: #00eaff;
    margin-bottom: 20px;
}

.login-error {
    background: #ff4444;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.login-label {
    display: block;
    text-align: left;
    margin: 10px 0 5px 0;
    font-size: 14px;
    color: #c8f6ff;
}

.login-input {
    width: 100%;
    padding: 12px;
    background: #11161c;
    border: 1px solid #00eaff;
    border-radius: 6px;
    color: #c8f6ff;
    margin-bottom: 20px;
    font-size: 15px;
}

.login-input:focus {
    outline: none;
    border-color: #00eaff;
    box-shadow: 0 0 8px rgba(0,234,255,0.45);
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #00eaff;
    border: none;
    border-radius: 6px;
    color: #05080b;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.login-btn:hover {
    background: #00c7dd;
}
/* ===========================
   CONSOLE PAGE OMNIX PRO
   =========================== */

.console-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.console-card {
    background: rgba(11, 16, 21, 0.85);
    border: 1px solid #00eaff;
    border-radius: 14px;
    padding: 25px;
    text-decoration: none;
    color: #c8f6ff;
    box-shadow: 0 0 22px rgba(0,234,255,0.35);
    backdrop-filter: blur(6px);
    transition: 0.25s;
}

.console-card:hover {
    border-color: #00c7dd;
    box-shadow: 0 0 28px rgba(0,234,255,0.55);
    transform: translateY(-4px);
}

.console-card-title {
    font-size: 22px;
    color: #00eaff;
    margin-bottom: 8px;
    font-weight: bold;
}

.console-card-sub {
    font-size: 14px;
    opacity: 0.85;
}
/* ===========================
   USERS PAGE OMNIX PRO
   =========================== */

.users-msg {
    background: #00e676;
    color: #05080b;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.users-card {
    background: rgba(11, 16, 21, 0.85);
    border: 1px solid #00eaff;
    border-radius: 14px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 0 22px rgba(0,234,255,0.35);
    backdrop-filter: blur(6px);
}

.users-card-title{
    text-align:center;
    color:#00eaff;
    font-size:32px;
    margin-bottom:30px;

    text-shadow:
        0 0 15px rgba(0,234,255,.55);
}
.users-label {
    display: block;
    margin: 10px 0 5px;
    color: #c8f6ff;
}

.users-input {
    width: 100%;
    padding: 12px;
    background: #11161c;
    border: 1px solid #00eaff;
    border-radius: 6px;
    color: #c8f6ff;
    margin-bottom: 20px;
}

.users-btn {
    padding: 12px 16px;
    background: #00eaff;
    color: #05080b;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.25s;
}

.users-btn:hover {
    background: #00c7dd;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th {
    background: #0b1015;
    color: #00eaff;
    padding: 12px;
    border-bottom: 1px solid #00eaff;
}

.users-table td {
    padding: 12px;
    border-bottom: 1px solid #00eaff;
}

.users-btn-small {
    padding: 6px 10px;
    background: #1a222b;
    border: 1px solid #00eaff;
    border-radius: 6px;
    color: #c8f6ff;
    text-decoration: none;
    margin-right: 5px;
}

.users-btn-small:hover {
    background: rgba(0,234,255,0.25);
}

.users-btn-danger {
    background: #ff4444 !important;
    border-color: #ff4444 !important;
}
.pod-card {
    background: rgba(11,16,21,0.55) !important;
}

.pod-card-main {
    background: rgba(11,16,21,0.55) !important;
}
.main,
.navbar,
.omnix-header {
    position: relative;
    z-index: 5;
}
/* =========================================
   OMNIX HEADER V4
   ========================================= */

.omnix-navbar{
    position:relative;
    z-index:20;
    width:100%;
    margin:0 auto;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    padding:6px 0;

    border-top:1px solid rgba(0,234,255,.6);
    border-bottom:1px solid rgba(0,234,255,.8);

    background:
    linear-gradient(
        rgba(0,15,25,.92),
        rgba(0,20,30,.88)
    );

    backdrop-filter:blur(8px);

    box-shadow:
        0 0 15px rgba(0,234,255,.2),
        0 8px 20px rgba(0,234,255,.08);
}

.omnix-brand{
    text-align:center;
}

.omnix-title{
    font-size:36px;
    font-weight:800;
    color:#00eaff;

    text-shadow:
        0 0 15px rgba(0,234,255,.9);
}

.omnix-subtitle{
    font-size:10px;
    letter-spacing:4px;
    color:#fff;
    margin-top:2px;
}

.omnix-menu{
    display:flex;
    justify-content:center;
    align-items:center;

    gap:28px;

    margin-top:6px;

    flex-wrap:wrap;
}

.omnix-item{
    text-decoration:none !important;
    color:#ffffff !important;
    font-size:13px;
    transition:.2s;
}

.omnix-item:hover{
    color:#00eaff !important;
}

.omnix-item.logout{
    color:#ff5e5e !important;
}

.omnix-item.logout:hover{
    color:#ff9090 !important;
}
.omnix-grid-top{
    margin-top:10px;
}

.px-grid{
    margin-top:5px;
}
/* ===========================
   OMNIX EDITOR
   =========================== */

.editor-container{
    max-width:1400px;
    margin:20px auto;
}

.editor-box{
    background:rgba(11,16,21,.88);
    border:1px solid #00eaff;
    border-radius:14px;
    padding:20px;
    margin-bottom:20px;

    backdrop-filter:blur(8px);

    box-shadow:
        0 0 20px rgba(0,234,255,.18);
}

.editor-toolbar{
    display:flex;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

.editor-toolbar label{
    color:#c8f6ff;
    font-weight:600;
}

.editor-toolbar select{
    min-width:350px;

    background:#11161c;
    color:#c8f6ff;

    border:1px solid #00eaff;
    border-radius:8px;

    padding:10px 14px;
}

.editor-toolbar button{
    background:#00eaff;
    color:#05080b;

    border:none;
    border-radius:8px;

    padding:10px 20px;

    font-weight:700;
    cursor:pointer;
}

.editor-toolbar button:hover{
    background:#00c7dd;
}

.editor-file{
    color:#00eaff;
    margin-bottom:15px;
    font-weight:700;
}

.editor-path{
    color:#a6dfe8;
    font-size:13px;
    margin-bottom:15px;
}

.editor{
    width:100%;
    min-height:800px;

    background:#05080b;
    color:#d9f9ff;

    border:1px solid #00eaff;
    border-radius:10px;

    padding:20px;

    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size:14px;
    line-height:1.5;

    resize:vertical;

    box-sizing:border-box;
}

.editor:focus{
    outline:none;

    box-shadow:
        0 0 14px rgba(0,234,255,.25);
}
/* =====================================
   SUPERVISION
   ===================================== */

.supervision-filters{
    display:grid;
    grid-template-columns:
        repeat(4,1fr);

    gap:15px;
    margin-bottom:25px;
}

.status-ok{
    color:#00e676;
    font-weight:bold;
}

.status-running{
    color:#ffb300;
    font-weight:bold;
}

.status-error{
    color:#ff4444;
    font-weight:bold;
}

.desc{
    color:#00eaff;
    font-weight:600;
}
/* ===========================
   SUPERVISION OMNIX
   =========================== */

.supervision-filters{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-bottom:20px;
}

.users-card{
    width: 380px; !important;
    margin: 0 auto 40px auto;

    background: rgba(11,16,21,.88);
    border: 1px solid #00eaff;
    border-radius: 14px;

    padding: 25px; !important;

    box-shadow: 0 0 25px rgba(0,234,255,.25);
    backdrop-filter: blur(8px);
}

.users-card form{
    display:flex;
    flex-direction:column;
}

.users-card select{
    width:100%;
    box-sizing:border-box;

    padding:12px;

    background:#11161c;
    color:#c8f6ff;

    border:1px solid #00eaff;
    border-radius:8px;
}

.users-card label{
    display:block;
    margin-bottom:6px;
    font-weight:600;
}

.users-card button{
    width:100%;
    padding:14px;

    border:none;
    border-radius:8px;

    background:#00eaff;
    color:#05080b;

    font-weight:bold;
    cursor:pointer;
}

.users-card-title{
    text-align:center;
    font-size:22px;
    margin-bottom:15px;
}

#log-table{
    width:100%;
    border-collapse:collapse;
}

#log-table th{
    color:#00eaff;
    border-bottom:1px solid #00eaff;
    padding:12px;
}

#log-table td{
    color:#c8f6ff;
    padding:10px;
    border-bottom:1px solid rgba(0,234,255,.15);
}

#log-table tbody tr:hover{
    background:rgba(0,234,255,.08);
}

.desc{
    color:#00eaff;
    font-weight:bold;
}

.status-ok{
    color:#00e676;
    font-weight:bold;
}

.status-running{
    color:#ffb300;
    font-weight:bold;
}

.status-error{
    color:#ff4444;
    font-weight:bold;
}
/* USERS V2 FORM */

.users-card{
    width: 450px !important;
    margin: 0 auto 40px auto !important;
}

.users-card form{
    display:flex;
    flex-direction:column;
}

.users-card p{
    margin:0 0 18px 0;
}

.users-card label{
    display:block;
    color:#c8f6ff;
    margin-bottom:6px;
    font-weight:600;
}

.users-card input,
.users-card select{
    width:100%;
    box-sizing:border-box;

    padding:12px;

    background:#11161c;
    color:#c8f6ff;

    border:1px solid #00eaff;
    border-radius:8px;
}

.users-card button{
    width:100%;

    margin-top:10px;

    background:#00eaff;
    color:#05080b;

    border:none;
    border-radius:8px;

    padding:14px;

    font-size:15px;
    font-weight:700;

    cursor:pointer;
}

.users-card button:hover{
    background:#00c7dd;
}

.users-card-title{
    text-align:center;
    margin-bottom:25px;
}
