.zeb-share-overlay {
    width: 100%;
    height: 500px;
    left: 0px;
    bottom: -100%;
    background-color: var(--colr-zeb-bgd);
}

.zeb-share-overlay-open {
    bottom: var(--hgt-nav-nor);
}

.zeb-share-overlay-content {
    position: relative;
    width: 90%;
    left: 5%;
    margin-top: 30px;
    font-size: 20px;
}

#share-overlay {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 280px;
    background: #111;
    color: white;
    border-radius: 20px;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

#share-overlay h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
}

.share-toggle input[type="checkbox"] {
    appearance: none;
    width: 36px;
    height: 20px;
    background: #777;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.share-toggle input[type="checkbox"]:checked {
    background: #00d1b2;
}

.share-toggle input[type="checkbox"]::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}

.share-toggle input[type="checkbox"]:checked::before {
    transform: translateX(16px);
}

.share-toggle,
.share-lang {
    background: #404040;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    width: 75%;
    margin: auto auto 15px;
}

.share-toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.share-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.share-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #777;
    border-radius: 20px;
    transition: 0.3s;
}

.share-toggle-slider::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    top: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.share-toggle-switch input:checked+.share-toggle-slider {
    background-color: #00d1b2;
}

.share-toggle-switch input:checked+.share-toggle-slider::before {
    transform: translateX(18px);
}

.share-lang img {
    height: 30px;
    cursor: pointer;
}

.share-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.share-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    position: relative;
}

.share-button img {
    width: 60px;
    margin-bottom: 5px;
}

.embed-dialog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--zidx-dialogbox);
}

.custom-dialog-box {
    background: black;
    border: 1px solid #eee;
    font-size: 25px;
    padding: 24px 20px 18px 20px;
    border-radius: 8px;
    min-width: 600px;
    position: absolute;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.embed-dialog-textarea {
    position: relative;
    font-family: var(--fnt-app-def);
    font-size: 25px;
    width: 100%;
    height: fit-content;
    min-height: 350px;
    resize: none;
    margin-bottom: 16px;
    color: black;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #d0d0d0;
    box-sizing: border-box;
}

.embed-dialog-copy {
    width: 45px;
    filter: invert(1);
    cursor: pointer;
    margin-bottom: 6px;
    right: 20px;
    position: absolute;
}

.embed-dialog-cancel {
    z-index: var(--zidx-dialogbox);
    width: 35px;
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
}