* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #000000;
    color: #ffb000;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: #000;
    border-bottom: 4px solid #ff0000;
    border-top: 4px solid #ff0000;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    color: #ff0000;
    text-shadow: 0 0 15px #ff0000, 0 0 30px rgba(255, 0, 0, 0.5);
    font-size: 2.5em;
    margin-bottom: 10px;
    letter-spacing: 3px;
    font-weight: bold;
}

.subtitle {
    color: #ffb000;
    font-size: 0.9em;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(255, 176, 0, 0.5);
}

nav {
    margin-top: 15px;
}

nav a {
    color: #ffb000;
    text-decoration: none;
    padding: 10px 20px;
    margin-right: 10px;
    background: #1a1a1a;
    border: 2px solid #ffb000;
    display: inline-block;
    transition: all 0.3s;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 176, 0, 0.5);
}

nav a:hover {
    background: #ffb000;
    color: #000;
    text-shadow: none;
    box-shadow: 0 0 10px rgba(255, 176, 0, 0.8);
}

.logout-btn {
    float: right;
    background: #ff0000 !important;
    border-color: #ff0000 !important;
    color: #fff !important;
}

.logout-btn:hover {
    background: #cc0000 !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8) !important;
}

.card {
    background: #0a0a0a;
    border: 3px solid #ffb000;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 0 20px rgba(255, 176, 0, 0.3);
}

.login-form {
    max-width: 400px;
    margin: 100px auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #ffb000;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(255, 176, 0, 0.5);
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    background: #000;
    border: 2px solid #ffb000;
    color: #ffb000;
    font-family: 'Courier New', monospace;
    font-size: 1em;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(255, 176, 0, 0.6);
    border-color: #ffd000;
}

button {
    background: #ffb000;
    color: #000;
    border: none;
    padding: 12px 30px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

button:hover {
    background: #ffd000;
    box-shadow: 0 0 20px rgba(255, 176, 0, 0.8);
    transform: translateY(-2px);
}

.error {
    background: #1a0000;
    border: 3px solid #ff0000;
    border-left: 10px solid #ff0000;
    color: #ff0000;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.warning {
    background: repeating-linear-gradient(
        45deg,
        #000,
        #000 10px,
        #1a1a00 10px,
        #1a1a00 20px
    );
    border: 3px solid #ffff00;
    border-left: 10px solid #ffff00;
    color: #ffff00;
    padding: 15px;
    margin: 20px 0;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 2px solid #ffb000;
}

th, td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ffb000;
}

th {
    background: #1a1a1a;
    color: #ff0000;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

tr:hover {
    background: #1a1a00;
}

.status-contained {
    color: #00ff00;
    font-weight: bold;
}

.status-breach {
    color: #ff0000;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.8);
}

.danger-extreme {
    color: #ff0000;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.danger-high {
    color: #ff8800;
    font-weight: bold;
}

.danger-medium {
    color: #ffff00;
    font-weight: bold;
}

.danger-low {
    color: #00ff00;
}

.document-list {
    list-style: none;
}

.document-list li {
    padding: 15px;
    margin: 10px 0;
    background: #0a0a0a;
    border-left: 6px solid #ffb000;
    border: 2px solid #ffb000;
    border-left-width: 6px;
}

.document-list a {
    color: #ffb000;
    text-decoration: none;
    font-weight: bold;
}

.document-list a:hover {
    color: #ffd000;
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(255, 176, 0, 0.8);
}

.document-content {
    background: #000;
    border: 3px solid #ffb000;
    padding: 20px;
    margin: 20px 0;
    color: #ffb000;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    max-height: 600px;
    overflow-y: auto;
    box-shadow: inset 0 0 20px rgba(255, 176, 0, 0.1);
    text-shadow: 0 0 1px rgba(255, 176, 0, 0.5);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.grid-item {
    background: #0a0a0a;
    border: 2px solid #ffb000;
    padding: 20px;
    box-shadow: 0 0 10px rgba(255, 176, 0, 0.2);
}

.grid-item h3 {
    color: #ff0000;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    color: #666;
    border-top: 2px solid #ffb000;
    background: #0a0a0a;
}

/* Terminal-like effect */
.terminal {
    background: #000;
    border: 3px solid #ffb000;
    padding: 15px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    color: #ffb000;
    box-shadow: inset 0 0 20px rgba(255, 176, 0, 0.1);
}

.terminal::before {
    content: '> ';
    color: #ffb000;
    font-weight: bold;
}

/* Pulsing glow effect for title */
@keyframes pulse-glow {
    0% {
        text-shadow: 0 0 10px #ff0000, 0 0 20px rgba(255, 0, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 20px #ff0000, 0 0 40px rgba(255, 0, 0, 0.8), 0 0 60px rgba(255, 0, 0, 0.4);
    }
    100% {
        text-shadow: 0 0 10px #ff0000, 0 0 20px rgba(255, 0, 0, 0.5);
    }
}

h1 {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Amber screen scanline effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 176, 0, 0.03),
        rgba(255, 176, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
}
