body.dark {
    background: #14151d; /* Darker, smoother */
    color: #e6e8ef;
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Agent Profile Card */
.card {
    background: #1d1f2b;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-3px);
}

/* Profile Photo */
.profile-photo {
    border-radius: 50%;
    width: 130px;
    height: 130px;
    object-fit: cover;
    border: 3px solid #3f4857;
    box-shadow: 0 0 15px rgba(0, 255, 153, 0.3);
}

/* Scanning Animation Bar */
.scan-anim {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #00ff99, #00ccff, #ff00ff);
    background-size: 300% 100%;
    animation: scan 3s linear infinite;
    border-radius: 4px;
    margin: 1.5rem 0;
}

@keyframes scan {
    0% { background-position: 0% 50%; opacity: 0.4; }
    50% { background-position: 100% 50%; opacity: 1; }
    100% { background-position: 0% 50%; opacity: 0.4; }
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4em 1.2em;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #242a38;
    color: #00ffcc;
    margin: 0.3em 0.3em 0.3em 0;
    box-shadow: 0 0 8px rgba(0, 255, 153, 0.2);
}

/* Mission List Section */
.mission-list {
    background: #242736;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: background 0.3s ease;
}

.mission-list:hover {
    background: #2d3045;
}

/* Mission Status Colors */
.status-ongoing { color: #ffc107; font-weight: bold; }
.status-completed { color: #28a745; font-weight: bold; }
.status-failed { color: #dc3545; font-weight: bold; }

/* Section Titles */
.section-title {
    color: #00ffcc;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.4rem;
}

/* Links */
a {
    color: #00ccff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

a:hover {
    color: #00ff99;
    text-shadow: 0 0 8px rgba(0,255,153,0.5);
}
