/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

/* Login Page */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Dashboard */
.section {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.product-table {
    width: 100%;
    border-collapse: collapse;
}

.product-table th, .product-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
/* Products Page */
.condition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.condition-group {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}

.product-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.product-table th, .product-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.btn-delete {
    color: #dc3545;
    text-decoration: none;
}
.threshold-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.product-list table {
    width: 100%;
    margin-top: 20px;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
}

.btn-delete:hover {
    background-color: #bb2d3b;
}

.alert {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
}
/* File Upload Feedback */
.file-feedback {
    display: inline-block;
    margin-left: 10px;
    color: #666;
    font-size: 0.9em;
}

/* Threshold Validation Flash */
tr {
    transition: background-color 0.3s ease;
}