h1 {
  font-size: 24px;
  margin-bottom: 20px;
}
/* 
#tableContainer {
  border-top: 1px solid #ddd;
  padding-top: 20px;
} */

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px; /* Spacing between tables */
}

/* style last row of table */
table tr:last-child {
  border-bottom: 2px solid #ddd;
  border-top: 2px solid #ddd;
  background-color: #ffc;
}

th,
td {
  border-bottom: 1px solid black;
  padding: 5px 10px;
  text-align: left;
  font-weight: 100;
}

th {
  background-color: #36a3db;
  color: white;
  font-weight: 500;
}

.client-name {
  background-color: #d9d9d9;
  font-weight: bold;
}

.right-aligned {
  text-align: right;
}

.center-aligned {
  text-align: center;
}

/* Style for the copy to clipboard button */
.copy-btn {
  cursor: pointer;
  padding: 5px 10px;
  margin: 5px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 5px;
}

.copy-btn:hover {
  background-color: #e0e0e0;
}

tbody > tr:first-child > th {
  background-color: palevioletred;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
/* 
body.processing-file {
  align-items: flex-start;
} */

body.processing-file .main-container {
  display: none;
}

.processing-file {
  display: block;
}

.processing-file .container {
  width: 100%;
  margin: unset;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container {
  border-radius: 4px;
  box-shadow: 0 1px 3px 2px rgba(0, 0, 0, 0.5);
  background-color: #fff;
  margin: 0 auto;
  width: 90%;
}

/* Main container styling */
.main-container {
  text-align: center;
  color: #333;
  padding: 0px 20px 0px 15px;
}

/* Upload container styling */
.upload-container {
  width: 100%;
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; */
  margin-left: -25px;
  margin-bottom: 20px;
  transition: transform 0.3s ease-in-out;
}

/* Drag and drop area styling */
.drag-drop-area {
  width: 100%;
  height: 400px;
  margin: 25px;
  border: 2px dashed #007396;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s;
}

.drag-drop-area:dragover {
  background-color: rgb(86, 161, 176);
  transform: scale(1.05);
}

.drag-drop-area:hover {
  border-color: #26a69a;
  background-color: #e0f2f1;
}

.drag-drop-area p {
  margin: 0;
  font-weight: bold;
  color: #009688;
}

/* Input file styling */
#csvFileInput {
  opacity: 0;
  width: 0.1px;
  height: 0.1px;
  position: absolute;
}

/* Browse button styling */
.browse-btn {
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  background-color: #009688;
  color: white;
  font-weight: bold;
  margin-top: -100px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.browse-btn:hover {
  background-color: #26a69a;
}

/* Add keyframes for the animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Apply the animation to the upload container */
.upload-container {
  animation: fadeIn 1s ease-in-out;
}

/* #tableContainer {
  border-top: 1px solid #ddd;
  padding-top: 20px;
} */

table {
  border-collapse: separate; /* This is necessary for border-radius to work */
  border-spacing: 0;
  width: 100%; /* Adjust as needed */
  border: 1px solid #ccc; /* Your desired border width and color */
  border-radius: 15px; /* Adjust the px value to increase or decrease the roundness */
  box-shadow: -2px -2px 4px 2px rgba(0, 0, 0, 0.2);
}

/* For the first row's top-left and top-right cells */
tr:first-child > th:first-child {
  border-top-left-radius: 15px; /* Match the table's border-radius */
}

tr:first-child > th:last-child {
  border-top-right-radius: 15px;
}

/* th:last-child {
  border-top-right-radius: 15px; 
} 

/* For the last row's bottom-left and bottom-right cells if you have a footer row */
/* tfoot tr:last-child td:first-child {
  border-bottom-left-radius: 15px; 
} */

tr:last-child > td {
  border-bottom: none;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-left-color: #09f;
  animation: spin 1s ease infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
