body {
  background-color: #f7f9fa;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

a {
  color: #000;
  text-decoration: underline;
}

a:hover {
  color: #2e8b57;
  text-decoration: underline;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.auth-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
}

.tool-wrapper {
  background: #fff;
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .tool-wrapper {
    flex-direction: row;
    align-items: stretch;
  }
}

.profile-left {
  background-color: #2e8b57;
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1rem;
  text-align: center;
  color: #fff;
}

.profile-left img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: none;
  margin-bottom: 1rem;
}

.profile-left h1,
.profile-left p {
  margin: 0;
}

.profile-right {
  flex: 1;
  padding: 2rem 1.5rem;
  overflow-x: auto;
}

.profile-right ul li a {
  color: #000;
  text-decoration: underline;
}

.profile-right ul li a:hover {
  color: #2e8b57;
  text-decoration: underline;
}

.btn-success {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #1a8650;
  color: #fff !important;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 16px;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.2s ease-in-out;
  margin-bottom: 12px;
}

.btn-success:hover {
  background-color: #166f42;
  color: #fff !important;
  text-decoration: none !important;
}

.btn-danger {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #e74c3c;
  color: #fff !important;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 16px;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.2s ease-in-out;
  margin-bottom: 12px;
}

.btn-danger:hover {
  background-color: #c0392b;
  color: #fff !important;
  text-decoration: none !important;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  display: block;
}

.table {
  width: 100%;
}

.table td,
.table th {
  text-align: left;
  padding: 10px 5px;
  white-space: nowrap;
}

.actions-cell .btn {
  flex: 1 1 0;
  max-width: 50%;
}

.user-meta {
  font-size: 0.95rem;
  text-align: left;
  width: 100%;
  margin-top: auto;
}

.user-meta p {
  margin: 0 0 6px;
  color: #fff;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.user-meta strong {
  color: #fff;
}

.tool-header {
  background-color: #2e8b57;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

.tool-body {
  padding: 2rem;
}

@media screen and (max-width: 768px) {
  .tool-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 10px;
    flex-direction: column;
  }

  .profile-left {
    padding: 1.5rem 1rem !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .profile-left img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
  }

  .profile-left p.fst-italic {
    margin-bottom: 1rem;
  }

  .user-meta {
    margin-top: 1rem;
    text-align: center !important;
  }

  .btn {
    width: 100%;
    margin: 5px 0;
  }

  .tool-body {
    padding: 1rem;
  }

  .tool-header {
    padding: 1rem;
    font-size: 1.5rem;
  }

  .btn-success,
  .btn-danger {
    width: 100%;
  }
}