/* General styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

@media (max-width: 645px) {
    h2 {
        font-size: 18px!important;
    }
}

p {
    margin-bottom: 10px;
    color: #555;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th,
td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

th {
    background-color: #007bff !important;
    color: #fff;
}

/* Checkbox styles */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-label {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 5px;
    background-color: #fff;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.custom-checkbox::after {
    content: '\2713';
    font-size: 14px;
    color: #fff;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkbox-input:checked+.custom-checkbox::after {
    opacity: 1;
}

/* Green color for checked state */
.checkbox-input:checked+.custom-checkbox {
    background-color: #28a745;
    border-color: #28a745;
}

.submit-btn {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #0056b3;
}

input[type="submit"] {
    color: #007bff;
    font-weight: bold;
    background-color: #84da75;
    display: block;
    margin: 0 auto; /* זה מיישר את הכפתור */
    padding: 10px 20px; /* אפשר להוסיף ריפוד בכדי לשפר את המראה */
}

input[type="submit"]:hover {
    color: #84da75;
    background-color: #007bff;

}

/* Default style for input */
input[type="number"] {
    border: none!important;
    border-bottom: 2px solid #ccc!important;
    outline: none;
    transition: border-color 0.3s ease!important;
    font-size: 14px;
    width: 100px!important;
    margin-right: 2%;
    padding: unset!important;
}


/* Style for the input when focused */
input[type="number"]:focus {
    border-bottom-color: #007bff;
    /* Change color when focused */
}

@media (max-width: 645px) {
    .product-status label {
        display: block;
    }
    input[type="number"] {
        width: 100%;
        /* Full width on small screens */
        font-size: 14px;
        /* Slightly smaller font for mobile */
        margin-right: 0;
        /* Remove margin for better alignment */
    }
}