/* style.css */
/* General styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.container {
    width: 90%;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 30px;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0; /* Remove any spacing between cells */
    margin-bottom: 20px;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
   
    border: none; /* Removes borders */
    outline: none; /* Removes outline, if any */


}

table th {
    background-color: #0d47a1;
    color: white;
  /*  font-weight: bold; */
    border: none; /* Removes borders */
    outline: none; /* Removes outline, if any */
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Column width adjustments */
#quotationsTable th:nth-child(1),
#quotationsTable th:nth-child(9)
{
    text-align: center;
}


#quotationsTable th:nth-child(7),
#quotationsTable td:nth-child(7) {
    text-align: right;
    font-weight: bold;
    width:100px;
}

#quotationsTable th:nth-child(8),
#quotationsTable td:nth-child(8) {
    text-align: center;
}
/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}


/* Button styles */
.btn-delete,
.btn-detail,
.btn-view,
.btn-edit {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 3px;
    font-size: 12px;
}

.btn-toggle {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 3px;
    font-size: 12px;
}

.btn-toggle.inactive {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 3px;
    font-size: 12px;
}

.btn-toggle:hover {
    opacity: 0.5;
}


.btn-detail {
    background-color: #008000;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 3px;
    font-size: 12px;
}

.btn-view {
    background-color: #44bfda;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 3px;
    font-size: 12px;
}
.btn-delete {
    background-color: #dc3545; /* Red color for delete button */
}

.btn-delete:hover,
.btn-edit:hover {
    opacity: 0.8;
}

