.absd-popup-overlay{
    position:fixed;
    inset:0;
    background: rgba(31, 42, 48, 0.64);
backdrop-filter: blur(2px);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9999;
}
.absd-popup :is(h1, h2, h3, h4, h5, h6, a, button, span,input) {
    font-family: Manrope, sans-serif;
}
.absd-popup-overlay.active{
    opacity:1;
    visibility:visible;
}
.absd-update-profile:disabled {
    background-color: #cccccc;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.6;
}
.absd-popup{
    width:80%;
    max-width:430px;
    background:#fff;
    border-radius:20px;
    padding:40px;
    position:relative;
    transform:translateY(30px);
    transition:.35s;
    font-family: Manrope, sans-serif;
}
.absd-register-form {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-gutter: stable;
    padding-right: 12px;
    box-sizing: content-box;
    margin-right: -20px;
}
.absd-popup-overlay.active .absd-popup{
    transform:translateY(0);
}

.absd-popup h2{
    text-align:center;
    margin-bottom:25px;
	font-size: clamp(13.642px, 0.915rem + ((1vw - 3.2px) * 0.657), 24px) !important;
	color: #2B2B2B;
	 margin-top: 0;
	font-weight: 600;
	line-height: normal;
}

.absd-popup label {
    display: block;
    margin-bottom: 12px;
    color: #2B2B2B;
    font-weight: 600;
    line-height: normal;
    font-size: clamp(13px, calc(12px + 0.25vw), 16px);
}

.absd-popup input {
    width: 100%;
    height: 50px;
    border-radius: 30px;
    padding: 14px;
    padding-left: 45px;
    box-sizing: border-box;
    border-radius: 25px;
    border: 1px solid #E6E9EB;
    background: #FFF;
    color: #2B2B2B;
    font-size: clamp(13px, calc(12px + 0.25vw), 16px);
    font-weight: 500;
    line-height: normal;
}
.absd-popup input:disabled,
.absd-popup textarea:disabled,
.absd-popup select:disabled {
  background: #F4F6F7;
  cursor: not-allowed;
  opacity: 1; 
}
.absd-register-render {
    display: block;
    color: #808080;
    font-weight: 600;
    line-height: normal;
    font-size: clamp(13px, calc(12px + 0.25vw), 15px);
    text-align: center;
    margin-top: 24px;
}
.absd-register-render .absd-show-register {
    color: #2B2B2B;
	cursor:pointer;
    text-decoration: underline;
}
.absd-register-btn{
    width:100%;
    margin-top:25px;
    height:50px;
    border:none;
    border-radius:30px;
    background:#222d34;
    color:#fff;
    cursor:pointer;
    font-size:16px;
}

.absd-login-link{
    text-align:center;
    margin-top:18px;
}

.absd-popup-close {
    position: absolute;
    right: 18px;
    top: 18px;
    border: none;
    background: none;
    width: 22px;
    height: 22px;
    cursor: pointer;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.absd-popup-overlay .absd-login-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.absd-popup-overlay .absd-input-field {
    position: relative;
}

.absd-popup-overlay .absd-input-field .absd-login-input-icon {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
	max-width:18px;
}
.absd-popup-overlay .absd-forgot-password {
	margin-top:12px;
  display:flex;
  justify-content:flex-end;
}
.absd-popup-overlay .absd-forgot-password .absd-show-forgot {
    border: 0px;
    background: transparent;
    color: #1BB3A9;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
  	transition:.4s;
}
.absd-popup-overlay .absd-forgot-password .absd-show-forgot:hover {
	text-decoration:underline;
  	color:#1F2A30;
  	text-underline-offset:5px;
}
.absd-popup-overlay .absd-login-button {
  border-radius: 25px;
  background: #1F2A30;
  display: flex;
  padding: 14px 32px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  align-self: stretch;
  border:0px;
  position:relative;
  overflow:hidden;
  z-index:1;
  width:100%;
  color:  #FFF;
  text-align: center;
  font-size: clamp(13px, calc(12px + 0.25vw), 17px);
  font-weight: 600;
  line-height: normal;
  margin-top:30px;
  cursor: pointer;
}
.absd-popup-overlay .absd-login-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgb(255 255 255 / 11%), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}
.absd-popup-overlay .absd-login-button:hover:before {
	 left:100%;
}
.absd-popup-overlay .absd-resister-render {
    color: #808080;
    text-align: center;
    font-size:  clamp(13px, calc(12px + 0.25vw), 15px);
    font-weight: 500;
    line-height: normal;
    margin-top: 24px;
}
.absd-popup-overlay .absd-resister-render a{
    color: #2B2B2B;
    font-weight: 600;
  	cursor: pointer;
  	transition:.4s;
  	text-decoration:underline;
}
.absd-popup-overlay .absd-resister-render a:hover {
	color: #1BB3A9;
}
button.absd-back-login {
    background: transparent;
    border: 0px;
  	cursor:pointer;
}
.absd-forgot-actions {
	position:absolute;
  	top:30px;
  	left:30px;
}
.absd-forgot-form h2 {
    margin-bottom: 14px;
}
.absd-forgot-form p {
    color: #808080;
	text-align: center;
	font-size: clamp(13px, calc(12px + 0.25vw), 15px);
	font-weight: 500;
	line-height: 22px;
    margin-bottom: 24px;
  	margin-top:0px;
}
/* profile icon */
.absd-profile-btn{
    display:none;
    cursor:pointer;
    align-items:center;
    justify-content:center;
	outline:none;
}

.absd-profile-btn svg{
    display:block;
    transition:.3s;
}

.absd-profile-btn:hover svg{
    transform:scale(1.05);
}
.absd-profile-popup{
    width: 85%;
    max-width: 850px;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
	max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-gutter: stable;
	-webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    overscroll-behavior-y: contain;
}

.absd-profile-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}
.absd-form-mail-field {
	grid-column: 1 / -1;
}

.absd-profile-image{
    text-align:center;
    margin-bottom:30px;
	height: 100px;
    width: 100px;
    border-radius: 100%;
    position: relative;
	    margin: 0 auto;
}
.absd-profile-buttons button {
  display: flex;
  padding: 14px 32px;
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
  border-radius: 25px;
  border: 1px solid #1F2A30;
  text-align: center;
  font-family: Manrope;
  font-size: clamp(13px, 0.875rem + ((1vw - 3.2px) * 0.357), 17px);
  font-weight: 600;
  line-height: normal;
}
.absd-profile-buttons button.absd-popup-close-btn {
	color:  #1F2A30;
  	background:#fff;
}
.absd-profile-buttons button.absd-update-profile {
	background: #1F2A30;
  	color:#fff;	
}
label.absd-upload-btn {
    position: absolute;
    border-radius: 20px;
    border: 2px solid  #FFF;
    background:  #1BB3A9;
    display: flex;
    padding: 5px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0;
    bottom: -5px;
    right: 5px;
	 cursor: pointer;
}

.absd-profile-image img{
    width:100px;
    height:100px;
    border-radius:50%;
    object-fit:cover;
}
.absd-upload-btn img.absd-profile-icon {
    width: auto;
    max-width: 100%;
    height: auto;
}
.absd-profile-buttons{
    display:flex;
    gap:20px;
    margin-top:30px;
}

.absd-profile-buttons button{
    flex:1;
    height:50px;
    border-radius:30px;
    cursor:pointer;
}

/* form validation / status messages (added from second file) */
.absd-login-message,
.absd-register-message{

    display:none;
    padding:12px;
    border-radius:6px;
    margin-bottom:15px;
    font-size:14px;

}

.absd-error{
    display:block;
    color:#d90000;
	    padding: 0;
    margin-bottom: 0;
}

.absd-success{
    display:block;
    color:#007c2f;
	font-family : Manrope, sans-serif;
	padding-top : 10px;
}
.absd-valid{
    border:1px solid #28a745 !important;
}

.absd-invalid{
    border:1px solid #dc3545 !important;
}

.absd-email-message,
.absd-field-error {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    font-size: 14px;
    color: #e53935;
    line-height: 1.4;
}

.absd-field-error:empty,
.absd-email-message:empty {
    display: none;
}

.absd-login-button:disabled{
    opacity:.5;
    cursor:not-allowed;
}

.absd-login-button:not(:disabled){
    opacity:1;
    cursor:pointer;
}

/* new popup */
.absd-profile-menu{
    position:relative;
}
.absd-profile-menu figure {
	display:flex;
	align-items:center;
	justify-content:center;
}

.absd-profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: #fff;
    border-radius: 18px;
    padding: 12px 0;
    box-shadow: 0 12px 35px rgba(0,0,0,.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s;
    z-index: 999;
}

.absd-profile-dropdown.active{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.absd-profile-dropdown p{
    margin:0;
}

.absd-profile-dropdown a{
    display:flex;
    align-items:center;
    gap:15px;
    padding:14px 22px;
    text-decoration:none;
   color:#2b2b2b;
}

.absd-profile-dropdown a:hover{
    background:#f7f7f7;
}
.absd-pop-p,
.absd-profile-dropdown,
.absd-edit-profile,
.absd-logout {
    padding : 0;
    outline : none;
    text-decoration : none;
    cursor : pointer;
}

.absd-profile-dropdown{
    display:none;
}

.absd-profile-dropdown.active{
    display:block;
}
.absdb-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 20px;
  height: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}
.absdb-password-toggle img{
	width: 100%;
    height: 100%;
    object-fit: contain;
	display:inline-block;
}
.absdb-password-toggle img.passoword-show ,
.absdb-password-toggle.active  img.passoword-close{
    display: none;
}
.absdb-password-toggle.active img.passoword-show {
    display: block;
}
@media (max-width:767px){
	.absd-profile-grid {
		gap:20px 15px;
	}
	.absd-profile-popup {
		padding: 35px 25px;
	}
	.absd-popup input {
		height: 44px;
		padding: 10px 12px;
		padding-left: 38px;
	}
	.absd-popup-overlay .absd-input-field .absd-login-input-icon {
		left: 17px;
		 max-width: 16px;
	}
}

@media (max-width:479px) {
	.absd-popup {
    padding: 30px 20px;
}
	.absdb-password-toggle {
			width: 16px;
			height: 16px;
		}
	.absd-popup input {
    height: 45px;
    padding: 12px;
    padding-left: 40px;
}
	.absd-popup-overlay .absd-input-field .absd-login-input-icon {
    left: 16px;
}
	.absd-popup label {
    margin-bottom: 7px;
}
	.absd-popup-overlay .absd-login-form-wrapper {
    gap: 15px;
}
	.absd-popup-overlay .absd-login-button,
	.absd-popup-overlay .absd-resister-render{
		margin-top:20px;
	}
	.absd-popup h2,
	.absd-forgot-form p{
		margin-bottom:20px;
	}
	.absd-forgot-form h2 {
		margin-bottom: 14px;
	}
	.absd-popup-close {
		right: 15px;
		top: 15px;
		width: 18px;
		height: 18px;
	}
	.absd-forgot-actions {
		position: absolute;
		top: 15px;
		left: 15px;
	}
	
	.absd-profile-grid {
		gap: 15px;
		grid-template-columns: repeat(1, 1fr);
	}
	.absd-profile-buttons {
		gap: 15px;
		margin-top: 25px;
		flex-direction: column;
	}
}