﻿.share-dialog svg {
    width: 20px;
    height: 20px;
    margin-right: 7px;
}

.share-dialog button,
.share-dialog .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    color: #777;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: capitalize;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 4px;
    border: 1px solid #ddd;
    cursor: pointer;
}

.share-dialog button:hover,
.share-dialog .button:hover {
    border-color: #cdd;
}

.share-dialog .share-button,
.share-dialog .copy-link {
    padding-left: 15px;
    padding-right: 15px;
    letter-spacing: 0;
    font-weight: 600;
    border: 0;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-radius: 0;
}

.share-dialog .share-button,
.share-dialog .share-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

shorts-video .share-dialog .share-dialog-box {
    display: none;

}

shorts-video.is-open .share-dialog .share-dialog-box {
    display: block;
    z-index: 99999999;
    bottom: 0px;
    position: fixed;
    transform: translateX(-50%);
    padding: 0 15px;
}

shorts-video.is-open .share-dialog::before {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

shorts-video.is-open .share-dialog .share-dialog-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(min(600px, 100%) - 40px);
    height: 100%;
    max-height: 300px;
    padding: 0 20px;
    transform: unset;
    z-index: 5;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
    background-color: #fff;
}

.share-dialog header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #777;
}

.share-dialog .targets {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin-bottom: 20px;
}

.share-dialog .close-button {
    background-color: transparent;
    border: none;
    padding: 0;
}

.share-dialog .close-button svg {
    margin-right: 0;
}

.share-dialog .link {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background-color: #eee;
    color: #000;
    border: 1px solid #dddddd;
}

.share-dialog .pen-url {
    margin-right: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
}