@import url("https://fonts.googleapis.com/css2?family=Anton&family=Josefin+Sans&display=swap");

body {
  font-family: 'Josefin Sans', sans-serif;
  background-color: #e6f2f8;
}

header {
  background-color: #0081a7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav a {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

nav a:hover,
nav a:focus,
nav a:active {
color: #003638;
}

.pIcon img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.main-profile-container {
  display: flex;
  padding: 40px;
  gap: 30px;
}

.sidebar {
  width: 200px;
  background-color: #d2e7f8;
  border-radius: 12px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar a.tab {
  display: block;
  background: none;
  text-decoration: none;
  color: #003638;
  font-weight: bold;
  font-size: 14px;
  padding: 10px 15px;
  margin: 0 5px;
  transition: 0.2s;
  border: 2px solid transparent;
}


.sidebar a.tab:hover {
  background-color: #003638;
  color: white;
}

.sidebar a.tab.active {
  background-color: #003638;
  color: white;
}

.sidebar a.logout {
  background-color: #a70000;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 25px;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
}

.profile-section {
  flex: 1;
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding-left: 2cm;
}

.profile-section h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.profile-section h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 18px;
}

.profile-section label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.profile-section input,
.profile-section textarea {
  width: 100%;
  margin-top: 5px;
  font-size: 14px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

input:disabled,
textarea:disabled {
  background: none;
  border: none;
  color: #555;
  opacity: 0.85;
}

input:not(:disabled),
textarea:not(:disabled) {
  background: #f5f5f5;
  border: 1px solid #ccc;
}

.buttons {
  margin-top: 25px;
  display: flex;
  gap: 10px;
}

.buttons button {
  flex: 1;
  padding: 10px;
  font-weight: bold;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.buttons button:nth-child(1) {
  background-color: #0081a7;
}

#saveBtn {
  background-color: #28a745;
}

#cancelBtn {
  background-color: #dc3545;
}

hr {
  margin: 30px 0;
  border: none;
  border-top: 2px solid #0081a7;
}

@media (max-width: 768px) {
  .main-profile-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
  }

  .profile-section {
    margin-top: 20px;
  }

  .buttons {
    flex-direction: column;
  }
}

.names {
 font-size: 14px;
 opacity: 0.9;
 margin: 0px;
}

footer {
  width: 100%;
  background-color: #0081a7;
  color: white;
  text-align: center;
  padding: 20px 0 10px 0;
  position: absolute;
  bottom: 0
}

footer h2 {
 font-size: 20px;
 margin: 0px;
 margin-bottom: 10px;
 font-family: 'Anton', sans-serif;
 letter-spacing: 2px;
 font-weight: 300;
}

.icons {
 display: flex;
 justify-content: center;
 gap: 25px;
 margin-bottom: 20px;
}

.icons img {
 width: 40px;
 height: 40px;
 object-fit: contain;
}

footer p {
 font-size: 14px;
 opacity: 0.9;
}