.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    gap: 24px;
    height: auto;
    min-height: 100vh;
}

.inner-container {
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--main-white);
    background-color: var(--main-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    width: 92%;
    max-width: 1200px;
}

.search-container {
    width: 92%;
    max-width: 1200px;
    margin-bottom: 16px;
}

#searchInput {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    box-shadow: var(--shadow);
    font-size: 16px;
    transition: all 0.2s ease;
}

#searchInput:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px rgba(var(--main-color-rgb), 0.2);
}

#downloadStockReportBtn {
    background-color: var(--main-color);
    color: var(--main-white);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#downloadStockReportBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#downloadStockReportBtn::before {
    content: "\f019";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.error-popup{
    background: rgb(255, 255, 255);
    border: 1px solid #000;
    position: fixed;
    width: 600px;
    right: 100px;
    bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 10px;
}

#error-popup-container {
    width: 92%;
    max-width: 1200px;
    margin-bottom: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--main-white);
}

thead {
    background-color: var(--main-color);
    color: var(--main-white);
}

th {
    padding: 16px;
    text-align: left;
    font-weight: 500;
}

tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

tbody tr:hover {
    background-color: #f8fafc;
}

td {
    padding: 16px;
}

td button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: var(--main-color);
    font-size: 16px;
    transition: all 0.2s ease;
    margin-right: 8px;
}

td button:hover {
    color: var(--darker-blue);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        min-height: 120vh;
    }
    
    h2 {
        font-size: 18px;
        font-weight: 300;
        margin-top: 80px;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 12px 8px;
    }
    
    #downloadStockReportBtn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .error-popup{
        display: none;
    }
}