/*? Main website styling */
.wrapper {
  width: 70%;
  margin: auto;
  padding: 20px;
}

body {
  background-color: gray !important;
}

/*? Main page style */

.tableContainer {
  overflow-x: auto;
  border-radius: 5px;
  background-color:#ffffff;
  height: 80vh;
  margin-top:15px;
}

.table {
  width: 95%;
  border-collapse: collapse;
  margin: 20px;
}

.table th, .table td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

.table th {
  background-color: #f2f2f2;
  color: #333;
}

.table tr:hover {background-color: #f5f5f5;}

.table td a {
  color: #007bff;
  text-decoration: none;
}

.table td a:hover {
  text-decoration: underline;
}

.btn-small {
  margin: auto 5px;
  width: 20px;
  padding:5px;
}

.btn-small:hover {
  cursor:pointer;
  background-color: rgba(0, 0, 0, 0.121) !important;
}

.action-section {
  display: flex;
  flex-direction: row;
}



/*? AddCustomer Popup */
.green-button {
  background-color: #61af08;
  color: white;
  padding: 5px 20px;
  border: none;
  cursor: pointer;
  font-size: 20px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.green-button:hover {
  background-color: #9CCC65;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.overlay-content {
  background-color: rgb(255, 255, 255);
  padding:  50px 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  position: relative;
}

.addCustomerForm {
  display:flex;
  flex-direction: row;
  color:black;
}

.form-group {
  margin:15px;
}

.form-container {
  display:flex;
  flex-direction: column;
}

#saveButton {
  background: linear-gradient(145deg, #4caf50, #087f23);
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  padding: 10px 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, box-shadow 0.3s;
}

#saveButton:hover {
  background: linear-gradient(145deg, #66bb6a, #087f23);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

#saveButton:active {
  background: linear-gradient(145deg, #087f23, #4caf50);
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
}
