body {
  font-family: "Source Sans Pro", sans-serif;
  color: black;
  font-weight: 300;
  background: #f5f6f7;
  width: 100%;
  height: 100%;
  margin: 0;
}

.login-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  height: 100vh;
}
.login-form {
  background-color: #ffffff;
  height: auto;
  color: black;
  text-align: center;
  padding: 10px;
  padding-top: 30px;
  border-radius: 5px;
  width: 30%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.banner {
  width: 30%;
}
.banner h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #079a98;
}
.banner p {
  font-size: 2rem;
  margin-top: 0px;
}
.add-group-form input,
.add-group-form textarea,
.login-form input {
  width: 90%;
  height: 25px;
  margin-top: 10px;
  padding-top: 10px;
  padding-left: 5px;
  padding-bottom: 10px;
  border: 0.1px solid rgb(181, 181, 181);
  border-radius: 5px;
}
.add-group-form textarea {
  min-width: 90%;
  max-width: 90%;
  min-height: 25px;
}
.add-group-form button,
.login-form button {
  width: 90%;
  background-color: #079a98;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  font-weight: bold;
  color: white;
  border: 0px;
}
.login-form hr {
  width: 90%;
  margin-top: 20px;
  margin-bottom: 0px;
}
.login-form a {
  text-decoration: none;
  color: #079a98;
  font-weight: bold;
}

.register-form {
  height: 60vh;
}

.nav-bar {
  margin: 0;
  padding: 0;
  width: 25%; /* Sidebar width */
  background-color: #f1f1f1;
  height: 100%; /* Full height */
  position: fixed; /* Fixed positioning */
  overflow: auto; /* Scroll if needed */
}

.content {
  margin-left: 25%; /* Push content to the right of the navbar */
  padding: 20px; /* Add some padding for better spacing */
}

.profile-details {
  background: #ffffff; /* White background for contrast */
  margin-top: 40px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-bar h1 {
  padding-left: 20px;
  color: #079a98;
}
.nav-bar ul {
  list-style-type: none;
  padding-left: 0px;
}

.nav-bar li a {
  display: block;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
}

/* Change the link color on hover */
.nav-bar li a:hover {
  background-color: #555;
  color: white;
}

.nav-bar .active {
  background-color: #079a98;
  color: white;
}

.greeting {
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 20px;
  margin-left: auto;
  float: right;
}

.groups-container {
  padding: 20px;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.group-card {
  background: #ffffff;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.group-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.group-card h3 {
  margin-bottom: 2px;
  color: #079a98;
}
.group-card .date {
  margin-bottom: 10px;
  margin-top: 0px;
  color: #555;
  font-size: 0.75rem;
}
.group-card .balance {
  font-weight: bold;
}

.group-card p {
  margin: 5px 0;
  font-size: 14px;
  color: #333;
}

.group-card strong {
  color: #555;
}
.group-info {
  background-color: #525aff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='100%25' gradientTransform='rotate(0,768,365)'%3E%3Cstop offset='0' stop-color='%23525AFF'/%3E%3Cstop offset='1' stop-color='%23525AFF'/%3E%3C/linearGradient%3E%3Cpattern patternUnits='userSpaceOnUse' id='b' width='540' height='450' x='0' y='0' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='0.1'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect x='0' y='0' fill='url(%23b)' width='100%25' height='100%25'/%3E%3C/svg%3E");
  background-attachment: scroll;
  background-size: cover;
  color: #ffffff;
  margin-top: 30px;
  border: 1px solid #ccc;
  border-radius: 8px 8px 0px 0px !important;
}

.group-content {
  padding: 10px 10px;
  border: 0.1px solid #ccc;
  border-top: 0px;
}
.logo-round-image {
  border-radius: 50%;
  /* object-fit: cover;  Ensures the image fits properly */
}

.custom-button {
  background-color: #079a98;
  color: #ffffff;
  border: none;
  padding: 8px 16px; /* Initial padding for the button */
  border-radius: 50px;
  font-size: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, padding 0.3s ease, width 0.3s ease; /* Smooth transition for background and padding */
  position: fixed !important;
  bottom: 40px !important;
  right: 40px !important;
  overflow: hidden;
  height: 60px;
  width: 60px;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  visibility: hidden; /* Initially hidden */
  animation: showButton 0s linear 0.6s forwards;
}

.custom-button:hover {
  padding: 8px 24px; /* Increase padding on hover to accommodate text */
  width: 180px;
}

.custom-button .icon,
.custom-button .text {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-button .icon {
  opacity: 1; /* Show icon by default */
  transform: translateX(0); /* Default position */
}

.custom-button .text {
  opacity: 0; /* Hide text by default */
  transform: translateX(-20px); /* Slide text slightly left */
  transition-delay: 0.1s;
}

.custom-button:hover .icon {
  opacity: 0; /* Fade out icon on hover */
  transform: translateX(20px); /* Slide icon slightly right */
}

.custom-button:hover .text {
  opacity: 1; /* Fade in text on hover */
  transform: translateX(0); /* Slide text into place */
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.action-buttons button {
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.action-buttons button:hover {
  background-color: #0056b3;
}
.add-group-form {
  background-color: #ffffff;
  height: auto;
  color: black;
  text-align: center;
  padding: 10px;
  padding-top: 30px;
  border-radius: 5px;
  width: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.back-button {
  background-color: #ffffff;
  color: #555;
  border-radius: 50px;
  border: 0.1px solid rgb(181, 181, 181);
  font-size: 17px;
  padding: 2px 10px;
  font-weight: lighter;
}
.back-button:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.horizontal-tabs {
  display: flex;
  gap: 30px;
}
.horizontal-tabs button {
  background-color: #ffffff;
  color: #555;
  border-radius: 10px;
  border: 0.1px solid rgb(181, 181, 181);
  font-size: 17px;
  padding: 5px 10px;
}
.horizontal-tabs button:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.active-horizontal-tab {
  /* background-color: #f46709da !important; */
  background-color: #fd6a00 !important;
  color: #ffffff !important;
}

@keyframes showButton {
  to {
    visibility: visible;
  }
}
