/* Overlay covering the whole screen */
#upg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
  
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
}

#upg-overlay.upg-hidden {
    display: none !important;
}

/* Close button style */
#upg-close-btn {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 32px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
#upg-close-btn:hover {
    color: #333;
}

/* Popup box */
.upg-popup {
    position: relative;
    background: #fff;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: left; /* Changed to left */
    font-family: 'Inter', sans-serif;
}
.upg-content{
	display: flex;
    flex-direction: column;
    gap: 20px;
}
.upg-content h2 {
     font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    /* margin-bottom: 20px; */
    color: #000;
    padding: 0;
    font-family: 'Montserrat';
}

.upg-content p {
       font-size: 15px;
    color: #000;
    /* margin-bottom: 25px; */
    padding: 0;
    font-family: 'Montserrat';
}

.upg-input-group {
}

#upg-password-input {
       width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    font-family: 'Montserrat';
}

#upg-password-input:focus {
    border-color: #00aeef;
}

#upg-login-btn {
       width: 120px;
    min-width: 120px;
    padding: 12px 30px;
    background-color: #00aeef;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Montserrat';
}

#upg-login-btn:hover {
    background-color: #008cc0;
}

/* Disable scrolling on body when popup is active */
body.upg-locked {
    overflow: hidden !important;
}
@media only screen and (min-width:200px) and (max-width:767px){
	.upg-popup{width:92%;padding: 20px;}
	.upg-content h2{
		    font-size: 20px;
	}
	.upg-content{
		gap: 15px;
	}
}