body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #1c1f2a, #232946);
    color: #eaeaea;
    margin: 0;
    padding: 30px;
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.table-container {
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.stock-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.stock-table thead {
    background: rgba(255, 255, 255, 0.12);
}

.stock-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #f1f1f1;
}

.stock-table th a {
    color: #f1f1f1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.stock-table th a:hover {
    color: #66c2ff;
}

.sort-arrow {
    font-size: 0.8rem;
    margin-left: 6px;
    color: #66c2ff;
    transition: transform 0.2s ease;
}
.sort-arrow.asc { transform: rotate(180deg); }

.stock-table td {
    padding: 14px 16px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stock-table tbody tr {
    transition: background 0.25s ease, transform 0.15s ease;
}
.stock-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.01);
}

.text-success {
    color: #27ae60;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(39, 174, 96, 0.5);
}
.text-danger {
    color: #e74c3c;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(231, 76, 60, 0.5);
}
.text-muted {
    color: #95a5a6;
}

@media (max-width: 900px) {
    .table-container {
        overflow-x: auto;
    }
    .stock-table {
        min-width: 900px;
    }
}
