body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7fa;
    color: #333;
    margin: 0;
    padding: 0;
}


h1, h2 {
    text-align: center;
    color: black;
}
table, th, td {
    width: 100%; /* Set table width to 90% of the page width */
    border-collapse: collapse;
    padding: 12px 20px;
    text-align: center;
	table-layout: fixed;
   
}

thead th {
    position: sticky;
    top: 0;
    left: 0;
    background-color: #E0E0E0;
    
}
tbody tr:hover{
    background-color: white;
}
main.table {
    width: 90%; /* Set table width to 90% of the page width */
    margin: 20px auto;
    background-color: #fff5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}
.table__header {
    width: 100%;
    height: 10%;
    background-color: lightgrey;
    padding: .8px 1px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.table__body {
    width: 95%;
    max-height: calc(89% - .8px);
    background-color: #F0F0F0;
    margin: 10px auto;
    border-radius: 15px;
    overflow: auto;
}
.status-text-sale {
    background-color: #ffbfbf;
    padding: 5px 0;
    border-radius: 10px;
}
.status-text-not-sale {
    background-color: #ccffcc;
    padding: 5px 0;
    border-radius: 10px;
}
input[type="text"], input[type="number"], input[type="password"], input[type="date"], input[type="file"], textarea {
    padding: 10px;
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    padding: 12px 20px;
    border: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
}

    button:hover {
        background-color: #45a049;
    }

/* General form style (applies to main forms only) */
form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

/* Smaller forms for buttons */
.small-form {
    max-width: none; /* Remove the max-width */
    margin: 0; /* Remove centering */
    background-color: transparent; /* No background */
    padding: 0; /* No padding */
    box-shadow: none; /* Remove shadow */
    border-radius: 0; /* No border radius */
}

    /* Buttons inside small forms */
    .small-form button {
        padding: 5px 10px; /* Smaller padding */
        font-size: 12px; /* Smaller text size */
    }

.image-container {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    margin: 0 auto;
}

.action-buttons {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    gap: 10px;
    width: 500px; 
    height: auto;
}

.search-bar {
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    align-items: center;
}

    .search-bar input {
        width: 80%;
        margin-right: 10px;
    }

    .search-bar button {
        width: 15%;
    }


