/* see photosphere_controller.js */

.photosphere-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity .15s ease;
    z-index: 9999;
}

.photosphere-overlay.photosphere-open {
    opacity: 1;
}

.photosphere-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    backdrop-filter: blur(2px);
}

.photosphere-dialog {
    position: relative;
    width: min(96vw, 1200px);
    height: min(90vh, 800px);
    display: flex;
    flex-direction: column;
    background: #111;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
    overflow: hidden;
}

.photosphere-content {
    position: relative;
    flex: 1 1 auto;
    min-height: 200px;
}

.photosphere-caption {
    padding: .6rem .9rem;
    color: #ddd;
    background: #0b0b0b;
    border-top: 1px solid #222;
    font-size: .9rem;
}

.photosphere-close {
    position: absolute;
    top: .35rem;
    right: .5rem;
    width: 2.25rem;
    height: 2.25rem;
    line-height: 2.1rem;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.photosphere-close:hover {
    background: rgba(0, 0, 0, .75);
}

/* custom btn */
.psv-close-btn {
    font-size: 19px;
    margin-left: auto;
}