.es-5e98046c-wrapper {
    position: relative;
    display: inline-block;
}

.es-5e98046c-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: color 0.3s;
    border-radius: 50%;
}

.es-5e98046c-toggle:hover {
    color: #000;
    background-color: rgba(0,0,0,0.05);
}

.es-5e98046c-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.admin-bar .es-5e98046c-popup {
  top: var(--wp-admin--admin-bar--height, 32px);
  height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
  body.admin-bar .es-5e98046c-popup {
    top: 46px;
    height: calc(100vh - 46px);
  }
}

.es-5e98046c-wrapper.is-open .es-5e98046c-popup {
    opacity: 1;
    visibility: visible;
}

.es-5e98046c-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    font-size: 40px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.es-5e98046c-close:hover {
    color: #ff0000;
}

.es-5e98046c-popup-content {
    width: 100%;
    max-width: 800px;
    padding: 0 40px;
}

.es-5e98046c-form {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
}

.es-5e98046c-input {
    width: 100%;
    background: none;
    border: none;
    font-size: 32px;
    color: #333;
    outline: none;
    padding: 10px 0;
}

.es-5e98046c-input::placeholder {
    color: #aaa;
}

.es-5e98046c-submit {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 10px;
}

.es-5e98046c-submit:hover {
    color: #000;
}
