/* Header Section */
.payment-page-header {
  background-color: #35659E !important;
  background: #35659E !important;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); */
  position: sticky;
  top: 0px;
  left: 0px;
  z-index: 100;
}

.header-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.back-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.2s;
  border-radius: 6px;
  /* Layout Properties */
  top: 21px;
  left: 120px;
  width: 45px;
  height: 24px;
  /* UI Properties */
  text-align: left;
  font: normal normal bold 18px/18px Nunito Sans;
  letter-spacing: 0px;
  color: #FFFFFF;
  opacity: 1;
}

.header-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  letter-spacing: 0.3px;
  pointer-events: none;
}

.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.create-project-btn {
  padding: 8px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.4px;
  width: 170px;
  height: 40px;
  background: #1FA0CC 0% 0% no-repeat padding-box;
  border: 1px solid #1FA0CC;
  border-radius: 6px;
  opacity: 1;
}

.create-project-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.user-avatar-container {
  position: relative;
}

.user-avatar {
  border: 1px solid #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #35659E;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.user-avatar:hover {
  transform: scale(1.05);
  /* box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4); */
}

/* Dropdown Menu */
.user-dropdown-menu {
  top:1px;
  position: absolute;
  right: 0;
  background: white;
  border-radius: 3px;
  box-shadow: 0px 1px 7px #d9dfe1;
  min-width: 170px; 
  z-index: 1000;
  overflow: hidden;
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px;
}

.dropdown-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #35659E;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  /* font-weight: 700; */
  font-size: 14px;
  flex-shrink: 0;
}

.dropdown-user-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.dropdown-menu-item {
  width: 100%;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  color: #333;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 0;
  margin: 3px 0;
}

.dropdown-menu-item:hover {
  background: #f5f5f5;
}

.dropdown-menu-item svg {
  flex-shrink: 0;
  color: #667eea;
}

.dropdown-menu-item span {
  /* font-weight: 700; */
}

.dropdown-divider {
  height: 2px;
  background: #e4e1e7;
}

/* .dropdown-menu-item.logout-item:hover {
  background: #fff5f5;
}

.dropdown-menu-item.activate-item svg {
  color: #2e7d32;
}

.dropdown-menu-item.activate-item:hover {
  background: #f1f8e9;
}

.dropdown-menu-item.buy-plan-item:hover {
  background: #eef3fb;
} */

/* Subscription Activated Success Modal */

/* Logout Confirmation Modal */
.logout-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: activateFadeIn 0.2s ease-out;
}

.logout-confirm-content {
  background: white;
  border-radius: 6px;
  padding: 40px 36px 36px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); */
  animation: activateSlideUp 0.3s ease-out;
}

.logout-confirm-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 16px;
}

.logout-confirm-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  letter-spacing: 0.3px;
}

.logout-confirm-message {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 32px 0;
}

.logout-confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.logout-confirm-btn {
  flex: 1;
  padding: 14px 24px;
  border: none;
  background: #35659E;
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logout-confirm-btn:active {
  transform: translateY(0);
}

.logout-confirm-btn--no {
  background: transparent;
  color: #35659E;
  border: 2px solid;
}

/* Responsive Design */
@media (max-width: 768px) {
  .payment-page-header {
    padding: 14px 16px;
  }

  .header-title {
    font-size: 16px;
  }

  .create-project-btn {
    padding: 7px 14px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .header-right {
    gap: 8px;
  }

  .create-project-btn {
    display: none;
  }
}
