.popup {
    display: none;
    position: fixed;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    z-index: 9999;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 10px #000;
    height: auto;
    border-radius: 8px;
    overflow: auto;
}

.popup input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.popup button {
    width: 100%;
    padding: 10px;
    background: #294594;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.popup .link {
    display: block;
    margin-top: 10px;
    text-align: right;
    font-size: 14px;
    cursor: pointer;
    color: #007bff;
}

.overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

#register-popup.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  width: 90%;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 10001;
  overflow-y: auto;
  max-height: 95vh;
}


@media only screen and (max-width: 400px) {
    .popup {
        padding: 15px;
        font-size: 14px;
    }

    .popup button {
        font-size: 14px;
        padding: 8px;
    }

    .popup input {
        font-size: 14px;
    }
}

.error-message {
    color: red;
    font-size: 13px;
    margin-top: 2px;
    display: block;
}
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 18px;
}
.navbar-nav > li > a:hover {
    color: #ffc107 !important;
}

input::-ms-reveal {
    display: none;
}
input::-ms-clear {
    display: none;
}

.g_id_signin {
  width: 100% !important;
  display: block;
}

.g_id_signin > div {
  width: 100% !important;
}
.close-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    z-index: 10;
}
