/* Hidden by default */
.account-overlay-hidden {
  display: none;
}



/* Inner container */
.account-overlay-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px 30px;
  box-sizing: border-box;
}

/* Slide up animation */
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}



/* Visible state with animation */
.account-overlay-show {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: #fff; /* Overlay background */
    z-index: 9999;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@media (min-width: 768px) {
    .account-profile-card {
        display: flex;
    }
}
@media (min-width: 921px) {
    .account-profile-card {
        display: flex;
    }
}
.account-profile-card {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--background-color);
    cursor: pointer;
    transition: background-color 0.1s ease;
	margin-top: 60px;
}

.account-page.active {
    transform: translateX(0);
}
.account-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000f50;
/*    transform: translateX(100%);*/
    transition: transform 0.3s ease-out;
    overflow-y: auto;
	color: #fff;

	padding-top: 55px;
	    max-width: 1200px;
     align-items: center; 

    justify-self: anchor-center;
}


.account-list {
    /* background: #fff; */
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    /* overflow: hidden; */
    margin: 0px 15px;
	margin-top: 90px;
/*    list-style: none;*/
}



 .account-item-icon {
            font-size: 1.4em;
            width: 30px;
            min-width: 30px;
            margin-right: 15px;
            text-align: center;
            color: var(--primary-color); /* Default icon color */
        }


        
        /* Sub-settings list (Level 2/3) */
        .account-list-sub li a {
            padding: 3px 20px;
            font-size: 0.95em;
        }
        .account-list-sub li a i {
            display: none; /* Hide icons in sub-list for cleaner look */
        }



.account-content-area {
            flex-grow: 1;
            padding: 3px 20px;
            overflow-y: auto;
            position: relative;
			margin-top: 0px;
			min-width: 726px;
        }

        .account-content {
            display: none;
        }
        .account-content.active {
            display: block;
        }



/* Slide up animation */
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Inner container */
.account-overlay-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px 30px;
    box-sizing: border-box;
}


@media (min-width: 921px) {
    .account-overlay-inner {
        width: 100%;
    }
	
	
}



#account_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-color);
  z-index: 10021;
  overflow-y: auto;  /* ✅ allow scrolling inside */
}



.desktop-account-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1200;
  align-items: center;
  justify-content: center;
}
.desktop-account-modal.active { display: flex; }

.account-modal-content {
  background-color: var(--model-bg);
  border-radius: 12px;
  width: 100%;
  max-width: 1200px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: modalSlideDown 0.3s ease-out;
}

.account-sidebar {
  width: 250px;
  min-width: 250px;
  background-color: var(--card-background);
  padding: 6px 20px;
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
}

.account-nav-desktop li a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  margin-bottom: 5px;
  text-decoration: none;
  color: var(--text-color);
  border-radius: 6px;
}
.account-nav-desktop li a:hover,
.account-nav-desktop li.active a {
  background-color: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
}

.account-content-area {
  flex-grow: 1;
  padding: 3px 20px;
  overflow-y: auto;
  position: relative;
  min-width: 726px;
}

.full-curtain-account {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  z-index: 1100;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}
.full-curtain-account.active {
  visibility: visible;
  opacity: 1;
  display: block;
}

.account-curtain-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  overflow-y: auto;
}
.account-curtain-page.active {
  transform: translateX(0);
}



@media (min-width: 921px) {
  .full-curtain-account { display: none !important; }
}
@media (max-width: 920px) {
  .desktop-account-modal { display: none !important; }
  .account-btn { display: none; }
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .account-overlay-show {
    padding-top: 10px;
    background: #fff;
  }
  .account-overlay-inner {
    padding: 10px;
  }
  .logout-btn {
    font-size: 14px;
    padding: 6px 10px;
  }
}


/* CSS for internal profile navigation (optional but recommended) */
.profile-sub-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    overflow-x: auto; /* For small screens */
}

.profile-sub-navigation .nav-btn {
    background: none;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 0.9em;
    color: var(--text-color);
    border-bottom: 3px solid transparent; /* The indicator line */
    transition: all 0.2s;
    white-space: nowrap;
}

.profile-sub-navigation .nav-btn:hover {
    color: var(--primary-color);
}

.profile-sub-navigation .nav-btn.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    font-weight: bold;
}


/* Mobile / Desktop Profile */
#mobileProfileFields, #desktopProfileFields {
/*  margin-top: 42px;*/
	list-style: none;
    padding: 0px 10px;
}




.overlay-internal-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-bottom: 1px solid var(--text-blue-to-darkblue-color);
    background-color: var(--background-color);
    position: sticky;
    top: 0px;
    z-index: 4;
	
}

.internal-nav-btn {
    background: none;
    
     padding: 2px 12px;
    cursor: pointer;
    font-size: 12px;
    color: var(--dark-text-color);
    border: 3px solid var(--text-blue-to-darkblue-color);
    border-radius: 36px;
    text-transform: uppercase;
    margin: 6px 3px;
}

.active-internal-btn {
    color: #007bff;
    
	color: var(--dark-text-color);
    
    border-radius: 36px;
    border: 6px solid var(--accent-purple);
    background: var(--accent-pink);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Internal Content Display Control --- */
.overlay-content-area {
    padding: 3px;
	
}

.internal-content {
    display: none; /* Hide all content sections by default */
}

.internal-content.active-content {
    display: block; /* Show only the active section */
}


.profile-action-buttons{
	padding:10px;
	justify-self: center;
    margin-bottom: 36px;
}
 

/* === Renewal Banner and Popup === */

 /* Ensure popup overlays everything, including account overlay */
.renewal-popup {
  position: fixed;
  inset: 0; /* shorthand for top, right, bottom, left: 0 */
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999 !important;  /* <— critical fix */
}

/* Hide by default */
.renewal-popup.hidden {
  display: none !important;
}

/* Inner content box */
.renewal-popup .popup-content {
      background: #fff;
    border-radius: 12px;
    padding: 19px 13px;
    max-width: 500px;
    width: 90%;
    max-height: 96vh;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeInUp 0.3s ease-out;
    min-height: 300px;
}

/* Close button */
.renewal-popup .close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
}

/* Optional: smooth fade animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




#renewalBannerContainer {
  text-align: center;

  padding: 3px 15px;

  font-weight: 500;
  color: #444;
  z-index: 1000;
}

.renewal-popup-content {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}


.renewal-actions{
	display: flex;
    justify-content: space-around;
	
}
#renewYears{
	width: 100%;
    padding: 10px 12px;
    font-size: 18px;
    /* border: 1px solid #999; */
    border-radius: 8px;
	
}


#renewNowBtn {
    color: #000f50;
    background: #00bbff;
    padding: 10px 39px;
    border: none;
    border-radius: 36px;
    margin: 10px;
	font-weight: 600;
}

#renewNowBtn:hover {
    background: #ec038a;
    
}

#cancelRenewBtn{
	color: #fff;
    background: #d82a4e;
    padding: 10px 36px;
    border: none;
    border-radius: 36px;
    margin: 10px 3px;
	
}

#closeRenewalPopupBtn {
  background-color: transparent;
}

#emailValidationStatus {
  margin-top: 5px;
  font-weight: 500;
  font-size: 0.9rem;
}
.available { color: green; }
.taken { color: red; }
.error { color: red; }

/* === Permanent Renewal Button === */

.permanent-renewal {
  text-align: center;
  padding: 0px 0px 12px 12px;
/*  background: #fff;*/
/*  z-index: 200;*/
  position: relative;
 justify-self: end;
}

#permanentRenewBtn {
  display: inline-block;
  background-color: #00bbff;
    color: #000f50;
    padding: 6px 30px;
  border: none;
  border-radius: 36px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

#permanentRenewBtn:hover {
  background-color: #ec038a;
}


.renew-user-info {
  background: transparent;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 16px;
	font-weight: 600;
/*  color: #333;*/
}
.renew-user-info p {
  margin: 4px 0;
}

.renewal-popup.active { display: flex; }

  .renewal-popup-content {
    background: var(--color-darkb-lightb);
    padding: 45px 12px 25px 12px;
    border-radius: 15px;
    max-width: 600px;
    width: 96%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
  }

  .renewal-close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
	color: #00bbff;
  }

  .renew-profile-info p {
    margin: 6px 0;
  }

  .renew-price { margin: 12px 0; font-weight: bold; }
  .renew-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
  }
.renew-total{
	margin: 5px 0; 
	font-size: 1.2em; 
	color: #ec038a; 
	display: flex; 
	justify-content: space-between;
}

.renew-amountbg{
	text-align: left; 
	background: transperent; 
	padding: 10px; 
	border-radius: 4px;
}
.renew-amount{
	margin: 5px 0; 
	display: flex; 
	justify-content: space-between;
}
.renew-gst{
	margin: 5px 0; 
	display: flex; 
	justify-content: space-between;
}

.renewal-message{
	font-size: 21px;
    color: var(--accent-pink);
    font-weight: 800;
	line-height: normal;
	margin-top: 12px;
}


/* Renewal success/error popup fix */
.renew-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999 !important; /* ensure above everything */
  animation: fadeIn 0.4s ease;
}

.renew-popup-content {
      background: var(--card-background);
    border-radius: 12px;
    padding: 18px 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    text-align: center;
    animation: scaleIn 0.3s ease;
    width: 96%;
}

.renew-popup-content h2 {
  color: #28a745;
  margin-bottom: 10px;
}

.renew-popup-content.error h2 {
  color: #dc3545;
}

.renew-popup-content button {
  padding: 10px 18px;
  margin: 5px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.renew-popup-content button#refreshProfileBtn {
  background: #00bbff;
    color: #000f50;
    padding: 9px 24px;
    border-radius: 36px;
}
.renew-popup-content button#closeRenewPopupBtn {
  background: transparent;
    display: flex;
    font-size: 20px;
    color: var(--text-blue-to-darkblue-color);
}

@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
@keyframes scaleIn { from {transform:scale(0.9);} to {transform:scale(1);} }

.left-text-popup{
	display: grid;
    text-align: justify;
    margin-top: 12px;
    padding: 0px 3px;
	line-height: normal;
	
}
.left-text-header{
	color:#00bbff;
	font-weight: 600;
	
}



/* biz card css start  */

/* VCard Section (namespaced) */
#vcard-display {
    padding: 3px;
    animation: bizcard-fadeIn 0.3s ease;
}

/* Title text */
#vcard-display p {
    font-size: 15px;
    margin-bottom: 10px;
    color: #bbbbbb;
}

/* Clickable Link Box */
.bizcard-link-container {
/*    border: 2px solid #0066ff;*/
    border-radius: 9px;
    padding: 9px;
    margin-bottom: 12px;
    background: #eef4ff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    text-align: center;
    word-break: break-all;
    transition: 0.25s ease;
}

.bizcard-link-container:hover {
    background: #dfeaff;
    transform: scale(1.01);
}

/* Link text */
.bizcard-shareable-link {
    color: #0049cc;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

/* Buttons row */
.bizcard-share-buttons-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* Buttons */
.bizcard-action-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s;
}

.bizcard-action-btn:hover {
    background: #005fcc;
    transform: translateY(-2px);
}

/* Note */
.bizcard-share-note {
    margin-top: 12px;
    color: #666;
    text-align: center;
    font-size: 13px;
}

/* Fade effect */
@keyframes bizcard-fadeIn {
    from { opacity:0; transform: translateY(5px); }
    to { opacity:1; transform: translateY(0); }
}

.bizcard-divider {
    margin: 20px 0;
    border: 0;
    height: 1px;
    background: #333;
}

.bizcard-change-slug-box {
    text-align: center;
    margin-top: 10px;
}

.bizcard-change-btn {
    background: #ff9800;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
}