<style>
 /* -------------------------------------------------------------------------
   SUPER-AGGRESSIVE FULL-SCREEN RESET
------------------------------------------------------------------------- */

/* Hide the WP Admin Bar if logged in */
#wpadminbar {
  display: none !important;
}

/* Remove top margin from html */
html {
  margin-top: 0 !important;
}

/* Reset margin, padding, and set box-sizing */
*, *::before, *::after {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Force html and body to fill the entire viewport */
html, body {
  width: 100% !important;
  height: 100% !important;
  background: #fff !important;
}

/* Remove extra spacing from common wrappers */
#page,
.site,
.wrapper,
.container,
.site-content,
#content,
.entry-content,
#primary,
#main,
#colophon,
#footer,
#masthead,
header,
footer {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border: none !important;
}

/* -------------------------------------------------------------------------
   MAIN DASHBOARD LAYOUT
------------------------------------------------------------------------- */

/* Main Dashboard Container */
.user-dashboard-container {
  position: relative !important;
  min-height: 100vh !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
}

/* Dashboard Header */
.user-dashboard-header {
  background-color: #f5f5f5 !important;
  padding: 20px !important;
  font-size: 1.5em !important;
  border-bottom: 1px solid #ddd !important;
  flex-shrink: 0 !important;
}

/* Dashboard Content Layout */
.user-dashboard-content {
  display: flex !important;
  flex: 1 1 auto !important;
}



/* Main Content Area */
.user-dashboard-main {
  flex: 1 1 auto !important;
  padding: 20px !important;
  overflow-y: auto !important;
  background: #fff !important;
}

/* Info Boxes and Impersonation Request */
.user-info,
.impersonation-request {
  background-color: #fafafa !important;
  padding: 20px !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
}

/* -------------------------------------------------------------------------
   BUTTONS
------------------------------------------------------------------------- */

/* Buttons within .user-info */
.user-info button {
  margin-top: 20px !important;
  padding: 10px 20px !important;
  background-color: #0073aa !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
}

.user-info button:hover {
  background-color: #005177 !important;
}

/* Additional .update-info-button & .identify-button from second snippet */
.update-info-button,
.identify-button {
  display: inline-block;
  background-color: #0073aa;
  border: none;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  vertical-align: middle;
  margin-top: 10px;
}
.update-info-button:hover,
.identify-button:hover {
  background-color: #005177;
}
.update-info-button img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* -------------------------------------------------------------------------
   ERROR MESSAGES
------------------------------------------------------------------------- */
.error-message {
  color: red;
  font-size: 18px;
  margin-bottom: 20px;
}

/* -------------------------------------------------------------------------
   STRIPE CHARGES TABLE
------------------------------------------------------------------------- */
.stripe-charges {
  margin: 20px 0;
  width: 100%;
  overflow-x: hidden;
  border-radius: 7px;
}

.stripe-charges h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.stripe-charges table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  margin: 20px 0;
  background-color: #fff;
  border-radius: 8px !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.stripe-charges th,
.stripe-charges td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.stripe-charges th {
  background-color: #f4f4f4;
  color: #333;
  font-weight: bold;
}

.stripe-charges tr:nth-child(even) {
  background-color: #f9f9f9;
}

.stripe-charges a {
  display: inline-block;
  padding: 6px 12px;
  background-color: #50C878;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.stripe-charges a:hover {
  background-color: #007991;
}

/* -------------------------------------------------------------------------
   PROJECT CARDS
------------------------------------------------------------------------- */
.project-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}

.project-card {
  width: 300px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-card img {
  max-width: 100px;
  height: auto;
  margin-bottom: 10px;
}
.project-card h3 {
  margin-bottom: 10px;
  color: #007991;
}
.project-card p {
  color: #666;
  margin-bottom: 20px;
}
.project-card .completed-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #4CAF50;
  color: white;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 12px;
}
.project-card .message-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ff6f61;
  color: white;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 12px;
}

/* -------------------------------------------------------------------------
   WEB DESIGN PLANS
------------------------------------------------------------------------- */
.web-design-plans-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.web-design-plan-card {
  cursor: pointer;
  width: 200px;
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}
.web-design-plan-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.web-design-plan-card img {
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
}
.web-design-plan-card h3 {
  margin: 15px 0;
  font-size: 16px;
}
.web-design-plan-card p {
  margin: 10px 0;
  font-size: 14px;
  color: #333;
}
.web-design-plan-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  font-size: 14px;
  color: #fff;
  background-color: #007991;
  border-radius: 4px;
  text-decoration: none;
}
.web-design-plan-card a:hover {
  background-color: #005f6b;
}
.web-design-plan-card .upgraded-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #FFD700;
  color: #000;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 4px;
}

/* Modal for Web Design Plans */
#planModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
}
#planModalContent {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  position: relative;
}
#planModalClose {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
#planModalClose:hover {
  color: #000;
}

/* -------------------------------------------------------------------------
   ROADMAPS
------------------------------------------------------------------------- */
.roadmaps {
  position: relative;
  margin-bottom: 50px;
  padding: 20px 0;
  overflow: visible; /* Ensure tooltips are visible */
  max-width: 100%;
}

.roadmap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap-stage {
  position: relative;
  text-align: center;
  flex: 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stage-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e0e0e0;
  z-index: 2; /* Ensure circles are above the line */
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* Default label position (labels below the line) */
.stage-label {
  margin-top: 70px; /* Increased to add more space */
  font-weight: bold;
  font-size: 12px;
  white-space: normal; /* Allow labels to wrap */
  text-align: center;
  position: relative;
}

/* Even stages (labels above the line) */
.roadmap-stage:nth-child(even) .stage-label {
  margin-top: -35px; /* Adjusted to position label above the line */
  margin-bottom: 35px; /* Adjusted margin-bottom to add space */
}

.stage-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 2px;
  overflow: visible;
  /* CSS variables */
  --line-animation-duration: 3000ms;
  --completed-percent: 0%;
  --in-progress-start: 0%;
  --in-progress-end: 0%;
  z-index: 1;
}

/* Solid green line up to last completed stage */
.stage-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--completed-percent);
  background-color: #4caf50;
  z-index: 1;
}

/* Animated green line from last completed to "In Progress" stage */
.progress-animation {
  position: absolute;
  top: 0;
  left: var(--in-progress-start);
  height: 100%;
  width: calc(var(--in-progress-end) - var(--in-progress-start));
  background-color: #4caf50; /* Green color */
  transform-origin: left;
  animation: progressFill 3s ease-in-out infinite;
  z-index: 1;
  overflow: visible;
}

@keyframes progressFill {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
  70% {
    transform: scaleX(1);
    opacity: 1;
  }
  80% {
    transform: scaleX(1.1) scaleY(0.9);
    opacity: 0.7;
  }
  90% {
    transform: scaleX(1.2) scaleY(0.7);
    opacity: 0.5;
  }
  100% {
    transform: scaleX(1.3) scaleY(0.5);
    opacity: 0;
  }
}

.stage-description {
  display: none;
  position: absolute;
  bottom: 45px; /* Positions tooltip above the circle */
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 3;
  width: 200px;
  text-align: left;
  font-size: 12px;
}

.roadmap-stage:hover .stage-description {
  display: block;
}

/* Tooltip arrow */
.stage-description::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.stage-description::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #ddd transparent transparent transparent;
  z-index: -1;
}

@media (max-width: 768px) {
  .roadmap {
    flex-direction: column;
  }

  .stage-line {
    display: none;
  }

  .roadmap-stage {
    margin-bottom: 30px;
  }

  .stage-circle {
    position: relative;
    top: 0;
    transform: none;
    margin-bottom: 10px;
  }

  .stage-label {
    margin-top: 10px;
    margin-bottom: 0;
  }

  .roadmap-stage:nth-child(even) .stage-label {
    margin-top: 10px;
    margin-bottom: 0;
  }
}

/* -------------------------------------------------------------------------
   UPLOADS SECTION
------------------------------------------------------------------------- */
.uploads-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.uploads-section .file-card {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 10px;
  background-color: #fff;
  margin-bottom: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.uploads-section .file-card .reviewed-badge {
  background-color: #50C878;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
}

.uploads-section .file-card .not-reviewed-badge {
  background-color: #FF6F61;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
}

/* -------------------------------------------------------------------------
   POPUP STYLES
------------------------------------------------------------------------- */
#popupWindow {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
}

#popupContentWrapper {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

#popupContent {
  overflow: auto; /* Ensure content is scrollable */
  max-height: 70vh; /* Limit height to viewport */
}

#popupTitle {
  margin-top: 0;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  width: 1px; /* Adjust if needed */
  height: 1px; /* Adjust if needed */
}
.popup-close:hover,
.popup-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* -------------------------------------------------------------------------
   MODAL OVERLAY & CONTENT
------------------------------------------------------------------------- */
.modal {
  display: none !important;
  position: fixed !important;
  z-index: 1000 !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: auto !important;
  background-color: rgba(0,0,0,0.4) !important;
}

.modal-content {
  background-color: #fefefe !important;
  margin: 5% auto !important;
  padding: 20px !important;
  border: 1px solid #888 !important;
  width: 90% !important;
  max-width: 500px !important;
  border-radius: 8px !important;
  position: relative !important;
}

.modal-content h2 {
  margin-top: 0 !important;
}

.close {
  color: #aaa !important;
  float: right !important;
  font-size: 28px !important;
  font-weight: bold !important;
  position: absolute !important;
  top: 10px !important;
  right: 20px !important;
  cursor: pointer !important;
}
.close:hover,
.close:focus {
  color: black !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

/* -------------------------------------------------------------------------
   FORM STYLES
------------------------------------------------------------------------- */
#editUserInfoForm label {
  display: block !important;
  margin-top: 10px !important;
}
#editUserInfoForm input {
  width: 100% !important;
  padding: 8px !important;
  margin-top: 5px !important;
  box-sizing: border-box !important;
}

.form-buttons {
  margin-top: 20px !important;
  display: flex !important;
  justify-content: space-between !important;
}
.form-buttons button {
  padding: 10px 20px !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}
.form-buttons button[type="submit"] {
  background-color: #28a745 !important;
  color: #fff !important;
}
.form-buttons button[type="button"] {
  background-color: #dc3545 !important;
  color: #fff !important;
}
.form-buttons button:hover {
  opacity: 0.9 !important;
}

/* -------------------------------------------------------------------------
   OTP BUTTONS & INPUTS
------------------------------------------------------------------------- */
.otp-method-buttons {
  display: flex !important;
  justify-content: space-around !important;
  margin-top: 20px !important;
}
.otp-method {
  display: flex !important;
  align-items: center !important;
  padding: 10px 20px !important;
  background-color: #0073aa !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}
.otp-method img {
  margin-right: 10px !important;
}
.otp-method:hover {
  background-color: #005177 !important;
}

.otp-inputs {
  display: flex !important;
  justify-content: space-between !important;
  margin: 20px 0 !important;
}
.otp-inputs input {
  width: 40px !important;
  height: 50px !important;
  text-align: center !important;
  font-size: 1.5em !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
}
.otp-inputs input:focus {
  border-color: #0073aa !important;
  outline: none !important;
}

/* Send OTP Button */
#sendOtpButton {
  padding: 10px 20px !important;
  background-color: #0073aa !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}
#sendOtpButton:hover {
  background-color: #005177 !important;
}

/* Verify OTP Button */
#verifyOtpForm button {
  padding: 10px 20px !important;
  background-color: #28a745 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}
#verifyOtpForm button:hover {
  background-color: #218838 !important;
}

/* -------------------------------------------------------------------------
   CONFIRMATION MODAL
------------------------------------------------------------------------- */
#confirmationModal img {
  display: block !important;
  margin: 0 auto 20px auto !important;
}
#confirmationModal h2 {
  text-align: center !important;
  color: #28a745 !important;
}

/* -------------------------------------------------------------------------
   VERIFICATION MESSAGE
------------------------------------------------------------------------- */
.verification-message {
  max-width: 500px !important;
  margin: 100px auto !important;
  padding: 20px !important;
  border-radius: 8px !important;
  text-align: center !important;
  font-family: Arial, sans-serif !important;
}
.verification-message.success {
  background-color: #d4edda !important;
  border: 1px solid #c3e6cb !important;
  color: #155724 !important;
}
.verification-message.error {
  background-color: #f8d7da !important;
  border: 1px solid #f5c6cb !important;
  color: #721c24 !important;
}
.verification-message img {
  margin-bottom: 20px !important;
}
.verification-message h2 {
  margin-bottom: 10px !important;
}


/* Buttons within .user-info */
.user-info button {
  margin-top: 20px !important;
  padding: 10px 20px !important;
  background-color: #0073aa !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
}
.user-info button:hover {
  background-color: #005177 !important;
}

/* Additional .update-info-button & .identify-button */
.update-info-button,
.identify-button {
  display: inline-block;
  background-color: #0073aa;
  border: none;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  vertical-align: middle;
  margin-top: 10px;
}
.update-info-button:hover,
.identify-button:hover {
  background-color: #005177;
}
.update-info-button img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* Styling for elements with both "button" and "update-info-button" classes */
.button.update-info-button {
  display: inline-block;
  background-color: #0073aa;
  border: none;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  vertical-align: middle;
  margin-top: 10px;
}
.button.update-info-button:hover {
  background-color: #005177;
}
.button.update-info-button img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

</style>