@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

.stocks-list-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 16px;
}

.page-heading {
    background-color: #5DB9FF;
    color: #fff;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    padding: 16px 24px;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 8px;
}

.stocks-table-wrapper {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stocks-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stocks-table thead {
    position: sticky;
    top: 0;
    background-color: #f2f2f2;
    z-index: 1;
}

.stocks-table th,
.stocks-table td {
    border: 1px solid #e6e6e6;
    padding: 12px 16px;
    text-align: left;
    font-size: 16px;
    color: #2b2b2b;
}

.stocks-table th {
    background-color: #f2f2f2;
    font-weight: 600;
}

.stocks-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.stocks-table tbody tr:hover {
    background-color: #e6f7ff;
}

.stocks-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
}

.stocks-controls label {
    font-weight: 600;
    margin-right: 8px;
    color: #333;
}

#stockSearch {
    padding: 8px 12px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    width: 260px;
    outline: none;
    transition: box-shadow 150ms ease, border-color 150ms ease;
    box-shadow: none;
}

#stockSearch:focus {
    border-color: #3DB5E6;
    box-shadow: 0 4px 12px rgba(61,181,230,0.12);
}

#perPage {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d6d6d6;
    background: #fff;
}

.pagination {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.pagination button {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #2b2b2b;
    transition: background 120ms ease, transform 80ms ease, box-shadow 120ms ease;
}

.pagination button:hover:not(:disabled) {
    background: #f0fbff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(3,57,93,0.06);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: default;
}

.pagination button.active {
    background: linear-gradient(180deg,#3DB5E6,#3DB5E6);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(45,133,180,0.18);
}

@media screen and (max-width: 600px) {
    .stocks-controls { flex-direction: column; align-items: stretch; }
    #stockSearch { width: 100%; }
    .pagination { padding: 10px; gap: 6px; }
    .pagination button { padding: 8px 10px; }
}

@media screen and (max-width: 768px) {
    .stocks-table th, .stocks-table td {
        padding: 8px 10px;
        font-size: 14px;
    }
}

/* .bottom-bar {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 67px;
  background-color: #587200;
  z-index: 10;
}

