body{
  margin-bottom: 7vh;
}
#title {
  color: #192f49;
  font-size: 3.5vh;
  text-align: center;
  margin-top: 8vh;
  font-family: "Alice", serif;
  padding-left: 10vw;
  padding-right: 10vw;
}

#login-image {
  width: 80vw;
  margin-left: 10vw;
}

.profile-page #btnn {
  padding-left: 10vw;
  padding-right: 10vw;
  padding-top: 1.5vh;
  padding-bottom: 1.5vh;
  font-weight: 700;
  font-size: 2vh;
  border-radius: 25px;
  background-color: #0d3980;
  text-decoration: none;
  color: #fff;
  
  font-family: "Aboreto", serif;
  letter-spacing: 1px;
}

.profile-page #btn2 {
  padding-left: 10vw;
  padding-right: 10vw;
  padding-top: 1.5vh;
  padding-bottom: 1.5vh;
  letter-spacing: 1px;
  font-size: 2vh;
  border-radius: 25px;
  background-color: #0d3980;
  font-weight: 700;
  text-decoration: none;
  color: #fff;

  display: inline-block;
  font-family: "Aboreto", serif;
}

.profile-page #btn-container2 {
  display: flex !important;
  flex-direction: column !important ;
  margin-top: 2vw;
  align-items: center;
  gap: 4vh;
}
#margin-body{
  margin-top: 24vh;
  height: 1px;
}

/* with data */
#info-card {
  height: 16vh;
  width: 80vw;
  background-color: #f6f6f6;
  background: linear-gradient(135deg, #f6f6f6, #e5e5e5, #bababa);
  position: absolute;
  border-bottom-left-radius: 32px;
  border-top-left-radius: 32px;
  right: 0;
  top: 6vh;
  box-shadow: -1px 5px 10px rgba(0, 0, 0, 0.15);
}

#profile {
  height: 10vh;
  width: 10vh;
  border-radius: 50%;
  z-index: 5;
  position: absolute;
  margin-left: 3vw;
  top: 9vh;
  background: url("/images/profile.jpg") center/cover;
}

#info-name {
  font-size: 3vh;
  margin-left: 8vw;
  margin-top: 2vh;
  font-family: "Alice", serif;
  letter-spacing: 1px;
  color: #192f49;
}

#info-email {
  font-size: 2vh;
  margin-left: 8vw;
  margin-top: 1vh;
  font-family: "Alice", serif;
  letter-spacing: 1px;
  color: #192f49;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 70vw;
}

#info-phone {
  font-size: 2vh;
  margin-left: 8vw;
  margin-top: 1vh;
  font-family: "Alice", serif;
  letter-spacing: 1px;
  color: #192f49;
}

.address-info {
  width: 85vw;
  background: linear-gradient(135deg, #f2e8dc, #e8dbc9, #d6bfa3);
  height: 7vh;
  display: flex;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  padding: 1vh;
 
  border-top-right-radius: 32px;
  border-bottom-right-radius: 32px;
}

.address-info i {
  font-size: 3.5vh;
  margin-top: 1.75vh;
  color: #192f49;
}

#address {
  font-size: 2vh;
  font-family: "Alice", serif;
  letter-spacing: 1px;
  color: #192f49;
}

#address-btn {
  border: none;
  font-size: 1.5vh;
  font-family: "Alice", serif;
  letter-spacing: 1px;
  color: #fff;
  padding: 1vh 1vh;
  background-color: #192f49;
  border-radius: 32px;
  margin-top: 1.75vh;
}

#address-box {
  width: 70vw;
  margin-left: 3vw;
}

/* Profile quick actions */
#profile-anchor {
  display: flex;
  
  margin: 1rem 0;
  margin-bottom: 10px;
}

/* Card */
.profile-box {
  flex: 1;
  margin-left: 5vw;
  padding-top: 1vh;
  width: 15vw;
  height: 10vh;
  margin-right: 5vw;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: #323a40;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1vh;
}

/* Icon */
.profile-box i {
  font-size: 3vh;
  line-height: 1;               /* avoid vertical wobble */
  color: #192f49;
}

/* Label: apply to both p and span, and kill default p margins */
.profile-box p,
.profile-box span {
  margin: 0;                    /* removes default p margin */
  font-size: 1.8vh;
  font-weight: 600;
  font-family: "Alice", serif;  /* matches rest of profile page */
  color: #323a40;
}



#profile-list {
  display: flex;
  flex-direction: column;
  margin-top: 2vh;
  margin-bottom: 2vh;
  width: 90vw;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}

.profile-item {
  display: flex;
  align-items: center;
  gap: 4vw;
  padding: 1.5vh 3vw;
  text-decoration: none;
  color: #323a40;
  font-family: "Alice", serif;
  font-size: 2vh;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s ease;
}

.profile-item:last-child {
  border-bottom: none;
}

.profile-item i {
  font-size: 2.2vh;
  color: #323a40;
  width: 24px; /* keeps icons aligned */
  text-align: center;
}

.profile-item:hover {
  background: #f5f0e6;
}

/* Highlight logout */
.logout-item {
  color: #d32f2f;
}

.logout-item i {
  color: #d32f2f;
}

/* Make button look identical to anchor cards */
button.profile-box {
  border: 0;
  margin-top: 0.5vh;
  background: #fff; /* matches .profile-box */
  cursor: pointer;
  
}

/* Small, neat dropdown chevron */
.profile-box .dropdown-icon {
  font-size: 3vh; /* smaller than main icon */
  line-height: 1;
  color: #192f49;   /* matches icon color */
  
}
#logoutForm{
  padding: 1.5vh 3vw;
  gap: 4vw;
  margin-left: 1vw;
}

.logout-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Alice", serif;
  background: none;
  border: none;
  color: #d32f2f; /* red color */
  
  cursor: pointer;
  font-size: 2.2vh;
  gap: 4vw;
  transition: color 0.2s ease;
  padding: 0;
}

.logout-btn:hover {
  color: #b71c1c; /* darker red on hover */
}

.logout-btn i {
  font-size: 2vh;
  color: #d32f2f; /* icon color matches text */
}
