/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121622;
    color: #e0e6f1;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 900px;
    margin: 20px auto 40px;
    padding: 20px;
    background-color: #1e2430;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
}

nav {
    background-color: #222b3a;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

nav .logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #00e5ff;
}

nav a {
    color: #a9b4c7;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #00e5ff;
}

.mode {
    margin-top: 10px;
    padding: 8px 12px;
    width: fit-content;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    user-select: none;
}

.mode.secure {
    background-color: #00c853;
    color: white;
}

.mode.vulnerable {
    background-color: #d50000;
    color: white;
}

.card {
    background-color: #27313f;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgb(0 0 0 / 0.7);
    margin-bottom: 30px;
}

h2 {
    color: #00e5ff;
    margin-bottom: 15px;
    font-weight: 700;
}

h3 {
    color: #00bcd4;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="file"] {
    padding: 10px;
    border-radius: 6px;
    border: none;
    background-color: #1e2838;
    color: #b0bec5;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="file"]:hover {
    background-color: #394b63;
}

button {
    background-color: #00e5ff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    color: #121622;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #00b8d4;
}

.comment {
    background-color: #1b5e20;
    padding: 12px 15px;
    border-radius: 6px;
    color: #a5d6a7;
    font-weight: 600;
}

.card ul {
    list-style: disc inside;
    color: #cfd8dc;
}

.card ul li {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Links de archivos subidos */
.upload-link {
    color: #66ffff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.upload-link:hover {
    color: #ffeb3b;
    text-decoration: underline;
}

footer {
    background-color: #2c3446;
    padding: 25px 20px;
    text-align: center;
    color: #95a0b7;
    font-size: 0.9rem;
    margin-top: auto;
    border-radius: 12px 12px 0 0;
    user-select: none;
    box-shadow: inset 0 1px 3px rgb(0 0 0 / 0.25);
}