
body, .page-dark {
    background-color: #000000 !important; 
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
}



.steps-index .nav-dot {
    pointer-events: all !important; 
}

.nav-dot {
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: 1px solid #444;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-dot:hover {
    background-color: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 0 15px #ff0000;
}

.nav-dot.active {
    background-color: #ffffff;
    border-color: #ffffff;
}

.main {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.card-dark {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

h1 {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-align: center;
}

.muted {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input[type="text"], input[type="email"], input[type="password"] {
    background: #111;
    border: 1px solid #222;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus {
    border-color: #ff0000;
    outline: none;
    background: #151515;
}

.actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-red {
    flex: 2;
    background: #ff0000;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-red:hover {
    background: #cc0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.btn-outline {
    flex: 1;
    background: transparent;
    color: #555;
    border: 1px solid #222;
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: #fff;
    color: #fff;
}

.table-dark {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
}

.table-dark th {
    text-align: left;
    color: #444;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 1px solid #1a1a1a;
}

.table-dark td {
    padding: 15px 0;
    border-bottom: 1px solid #0f0f0f;
    font-size: 0.9rem;
}

.text-red {
    color: #ff0000;
    font-weight: bold;
}

.red-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 0, 0, 0.1); 
    border-radius: 50%;
    border-top-color: #ff0000; 
    animation: spin 1s ease-in-out infinite; 
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.loading #predict-form, 
.loading .results-area {
    opacity: 0.2;
    pointer-events: none; 
}






.main {
    position: relative;
    z-index: 20 !important;
    pointer-events: none;
}

.card-dark, 
.card-dark * {
    pointer-events: all !important;
    pointer-events: auto !important;
}

#genes_input {
    cursor: text !important;
    position: relative;
    z-index: 10001 !important;
}

#particles-js {
    position: fixed !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* =====================
   TOP NAVIGATION BAR
   ===================== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 18px 0 14px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}

.nav-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #555;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, filter 0.3s ease;
}

.nav-icon-btn .icon-svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.nav-icon-btn:hover,
.nav-icon-btn.active {
    color: #ff0000;
    filter: drop-shadow(0 0 8px #ff0000);
}

.nav-icon-btn.active::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff0000;
    box-shadow: 0 0 8px #ff0000;
    margin: 0 auto;
}

.main-wrapper {
    padding-top: 100px;
}
