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

html {
  background-color: #1e1e1e;
}

nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 80px;
  background: #1e1e1e;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}

nav .logo {
  border-radius: 5px;
  width: auto;
  height: 60px;
  margin-left: 10px;
}

.links-container {
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 1.5em;
}

.links-container a {
  height: 100%;
  padding: 0 50px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.links-container a:hover {
  color: royalblue;
}

nav .home-link {
  margin-right: 830px;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    height: auto;
  }

  .links-container {
    justify-content: center;
  }
}

.profile-section {
  display: flex;
  align-items: center;
  margin: 150px auto 50px;
  padding: 0 20px;
  max-width: 1200px;
}

.profile-section img {
  width: 200px;
  height: auto;
  margin-right: 15px;
  border-radius: 50%;
}

.profile-section h2 {
  font-size: 2.5em;
  color: white;
}

.custom-divider1 {
  height: 1px;
  background-color: rgb(126, 122, 122);
  margin: 10px 0;
}

.star-rating {
  color: gold;
  margin-right: 5px;
  transition: transform 0.3s;
  display: none;
}

.star-rating i:hover {
  transform: scale(1.2);
}

.star-rating2 {
  color: gold;
  transition: transform 0.2s;
  display: flex;
  gap: 5px;
  align-items: center;
  position: absolute;
  margin-left: 580px;
}

.star-rating2 i:hover {
  transform: scale(1.2);
}

.Services-content {
  margin: 50px auto;
  max-width: 1200px;
  padding: 20px;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  color: white;
}

.add-file {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.add-file:hover {
  background-color: #0056b3;
}

.custom-divider2 {
  width: 100%;
  height: 1px;
  background-color: rgb(126, 122, 122);
  margin: 10px 0;
}

.services {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}

.services h2 {
  font-size: 1.5rem;
  color: white;
}

.star-rating2 {
  display: flex;
  gap: 5px;
  align-items: center;
}

.edit-delete {
  display: flex;
  gap: 15px;
}

.edit-delete i {
  color: #007bff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.edit-delete i:hover {
  transform: scale(1.2);
}

.add-service-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  padding: 20px;
  max-width: 1658.5px;
  background-color: #2e2e2e;
  width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.add-service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

h2 {
  margin-left: 20px;
  font-size: 1.8rem;
  color: white;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.service-input,
.verification-section,
.upload-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

label {
  margin-top: 20px;
  font-size: 1rem;
  margin-bottom: 5px;
  color: white;
}

input[type="text"],
select,
input[type="file"] {
  width: 100%;
  max-width: 600px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input[type="file"] {
  background-color: #f8f9fa;
}

input[type="text"]:focus,
select:focus {
  border-color: #007bff;
  outline: none;
}

button#save-changes-button {
  margin-right: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

button#save-changes-button:hover {
  background-color: #0056b3;
}

.verification-note {
  font-size: 0.9rem;
  color: white;
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.modal-buttons button {
  margin: 10px;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

#other-reason {
  width: 100%;
  height: 60px;
  margin-top: 10px;
  resize: none;
}

#confirmation-modal .modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.modal-buttons button {
  margin: 10px;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

textarea {
  width: 100%;
  height: 60px;
  margin-top: 10px;
  resize: none;
}

input[type="text"],
select,
input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#validation-modal .modal-content {
  background: #f8d7da;
  color: #721c24;
}
