/* Hide header & footer */
.page-template-profile-edit
  header.elementor.elementor-792.elementor-location-header {
  display: none;
}
.page-template-profile-edit
  footer.elementor.elementor-819.elementor-location-footer {
  display: none;
}

/* General */
body {
  background: #f8fafc;
}
main.dashboard-main {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.profile-name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  font-family: "Inter", Sans-serif;
}
.top-content {
  padding: 10px;
}
.logout-link {
  margin-top: 20px;
  display: block;
  text-align: center;
  color: #f87171;
}

/* Dashboard layout */
.dashboard-container {
  display: flex;
  max-width: 100%;
  width: 100%;
  margin: 10px auto;
  min-height: 849px;
  font-family: Inter, sans-serif;
  background: white;
}
.dashboard-main {
  flex: 1;
  padding: 30px;
  padding-top: 0;
}

/* Topbar */
.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
ul.sidebar-menu .active svg {
  fill: black !important;
}
ul.sidebar-menu li a:hover svg {
  fill: black !important;
}
.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-profile img {
  border-radius: 50%;
}

/* Avatar */
.avatar-box {
  position: relative;
  text-align: center;
  height: fit-content;
}
.avatar-box img {
  border-radius: 10px;
  width: 120px;
  height: 120px;
  object-fit: cover;
}
label.edit-icon {
  position: absolute;
  right: 0;
  bottom: -7px;
  background: #e6f0fe;
  border-radius: 4px;
  padding: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1.5px 4.3px #0000000f;
  width: fit-content;
  margin: 0 auto;
}
.edit-icon svg {
  width: 14px;
  height: 14px;
  fill: #333;
}
.upload-btn {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #0a1930;
  cursor: pointer;
}

/* Sidebar */
.sidebar {
  width: 220px;
  background: #0a1930;
  color: #fff;
  padding: 20px;
  min-height: 100vh;
}
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar ul li {
  margin: 15px 0;
}
.sidebar ul li a {
  color: #fff;
  text-decoration: none;
}
.sidebar ul li.active a {
  font-weight: bold;
}
.upgrade-box {
  background: #13294b;
  padding: 15px;
  margin-top: 20px;
  border-radius: 10px;
  text-align: center;
}
.upgrade-box button {
  margin-top: 10px;
  padding: 6px 12px;
  border: none;
  background: #ffd700;
  border-radius: 6px;
  cursor: pointer;
}

/* Profile edit */
.profile-edit {
  flex: 1;
  padding: 40px;
}
.profile-edit h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

/* Tabs */
button.tab-btn {
  box-shadow: none !important;
}
.tabs {
  display: flex;
  margin-bottom: 20px;
}
.tab-btn {
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  background: transparent !important;
  border-radius: 0;
  font-size: 16px;
}
.tab-btn.active {
  border-bottom: 3px solid #ffde0a;
}

/* Forms */
div#edit-profile {
  padding-top: 30px;
}
.profile-form input {
  height: 50px;
  border-radius: 64px !important;
  padding-left: 20px !important;
  font-size: 15px;
  border-color: #ebebeb !important;
  margin-top: 8px;
}
.profile-grid {
  display: flex;
  gap: 40px;
}
.profile-grid textarea {
  border-radius: 16px;
  border: 1px solid #ebebeb;
  margin-top: 8px;
}
.fields-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.fields-grid .full {
  grid-column: 1 / 3;
}

/* Tags */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags-container input#tag-input {
  background: none;
  border: none !important;
  box-shadow: none;
  padding-top: 0;
}
.tags-container .tag {
  background: #dbeafe;
  color: #1e40af;
  height: 28.3px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
}
.tags-container .tag .remove {
  cursor: pointer;
  margin-left: 6px;
}
#tag-input {
  border: none;
  flex: 1;
  min-width: 120px;
}

/* Actions */
.form-actions {
  text-align: right;
  margin-top: 20px;
}
.btn-primary {
  background: #0a1930;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.notice.success {
  padding: 10px;
  background: #d1fae5;
  color: #065f46;
  margin-bottom: 20px;
  border-radius: 8px;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
button#nextBtn {
  background: #002f6c !important;
  color: #fff !important;
  padding: 14px 75px !important;
  border-radius: 64px;
}

/* Responsive */
@media (max-width: 768px) {
  .user-dashboard-profile-box .udp-row {
    flex-direction: column;
  }
  .dashboard-container {
    flex-direction: column;
    margin: 0;
  }
  main.dashboard-main {
    padding-left: 10px;
    padding-right: 10px;
  }
  .avatar-box {
    width: fit-content;
    margin: 0 auto;
  }
  .profile-grid {
    flex-direction: column;
  }
  .profile-edit-info {
    padding: 10px;
  }
  header.dashboard-topbar {
    padding: 10px;
  }
}
