@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

.invoice-management-dashboard {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  padding: 2rem;
  row-gap: 2rem;
  background-color: honeydew;
}

.app-header {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
  background-color: rgb(230, 230, 220);
  padding: 1rem;
}

.app-header h1 {
  font-size: 2rem;
  font-weight: 800;
}

.app-header button {
  padding: 1rem;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  background-color: rgb(34, 91, 197);
  color: white;
}

.below-header {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
}

.summary {
  width: 20%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  row-gap: 1rem;
}

.summary.active {
  border-bottom: 5px solid blue;
  font-weight: 700;
}

.invoice-dashboard {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: start;
  column-gap: 1rem;
}

.filter-sidebar {
  width: 20%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  row-gap: 1rem;
  background-color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.invoice-table {
  width: 50%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-self: start;
  justify-content: start;
  row-gap: 2rem;
  padding: 2rem;
  background-color: white;
}

.table-header {
  width: fit-content;
  height: auto;
}
.table-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.table-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-self: start;
  justify-content: start;
  row-gap: 1rem;
}

.table-sub-header {
  height: auto;
  display: flex;
  flex: 1 1;
  flex-direction: row;
  align-items: start;
  color: #222222;
  column-gap: 2rem;
}

.cell {
  display: flex;
  flex: 1 1;
}

.invoice-row-item {
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: start;
  column-gap: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0rem;
}

.invoice-row-item.active {
  background-color: rgb(244, 244, 249);
}

.row-name {
  font-weight: 400;
  color: #5a5858;
  flex: 1 1;
  display: flex;
}
.row-date {
  color: #828181;
  flex: 1 1;
  display: flex;
}
.row-status-green {
  background-color: rgb(84, 177, 84);
  color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.row-status-yellow {
  background-color: rgb(245, 245, 168);
  color: orange;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
}
.row-status-red {
  background-color: rgb(230, 202, 202);
  color: red;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.invoice-details-container {
  width: 30%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  padding: 1rem;
  row-gap: 1.5rem;
  background-color: white;
}
column- .invoice-details-title {
  width: fit-content;
  height: auto;
  font-size: 1rem;
  font-weight: 800;
}

.Id-first-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  row-gap: 1rem;
}

.Id-first-container button {
  border: none;
}

.Id-third-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  row-gap: 1rem;
}

.id-row {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
}

.id-row-items {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
}
.id-buttons {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
}
.download-btn {
  padding: 1rem;
  background-color: rgb(215, 225, 245);
  border: 2px solid rgb(34, 91, 197);
  border-radius: 0.5rem;
  cursor: pointer;
  color: rgb(34, 91, 197);
}
.cancel-btn {
  padding: 1rem 1.5rem;
  background-color: rgb(209, 209, 210);
  border: none;
  border-radius: 0.5rem;
  outline: none;
  box-shadow: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.edit-btn {
  padding: 1rem 1.5rem;
  background-color: rgb(34, 91, 197);
  border: none;
  border-radius: 0.5rem;
  outline: none;
  color: white;
  cursor: pointer;
}
