body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #3A3A3A;;
    color: white;
    text-align: center;
}

header {
    padding: 20px;
    background: #1E1E1E;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 5px 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

nav ul li a.active {
    font-weight: bold;
    color: #FF5733;
}

nav ul li a:hover {
    color: #FF5733;
}

.stock-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
}

.stock-content {
    background: #222;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 900px;
    overflow: hidden;
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #333;
    max-width: 100%;
}

th, td {
    border: 1px solid white;
    padding: 12px;
    text-align: left;
    font-size: 14px;
}

th {
    background: #FF5733;
    color: white;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .stock-content {
        padding: 20px;
        width: 95%;
        overflow-x: auto;
    }
    table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    th, td {
        padding: 8px;
    }
}
