#app {
    margin: 0 auto;
    max-width: 1128px; /* Max width for desktop */
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.gallery-menu {
    display: inline-block;
    flex-direction: column;
}

.gallery-menu div {
    display: inline-block;
    padding-bottom: 10px;
    margin: 30px 30px 0 0;
    color: #141618;
    cursor: pointer;
}

.gallery-menu .active {
    font-weight: bold;
    color: #DD1029;
    border-bottom: 4px #DD1029 solid;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
}

.gallery a.preview {
    position: relative;
    width: calc(16.666% - 9px);
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    background: #F8F8F9;
    border-radius: 8px;
    flex-shrink: 0;
}

.gallery a.preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.pagination {
    margin-top: 20px;
    text-align: center;
    align-self: flex-end; /* Ensure pagination is at the bottom */
}

.pagination button {
    /*margin: 3px;*/
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid #EAE8E8;
    font-weight: 400;
    line-height: 16px;
    font-size: 14px;
    font-family: 'SFProText-Regular', serif;
    background: #FFFFFF;
    color: #64686E;
    cursor: pointer;

    margin: 0 5px;
}

.pagination button:disabled {
    background: #DD1029;
    cursor: not-allowed;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    #app {
        max-width: 768px;
    }

    .gallery a.preview {
        width: calc(25% - 8px);
    }
}

@media (max-width: 768px) {
    .gallery a.preview {
        width: calc(33.333% - 7px);
    }
}

@media (max-width: 576px) {
    #app {
        max-width: 375px;
    }

    .gallery a.preview {
        width: calc(50% - 5px);
    }
}

@media (max-width: 400px) {
    .gallery a.preview {
        width: calc(50% - 5px);
    }
}

.page-nav {
    margin: 3px;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid #EAE8E8;
    font-weight: 400;
    line-height: 16px;
    font-size: 14px;
    font-family: 'SFProText-Regular', serif;
    background: #FFFFFF;
    color: #64686E;
}

.page-nav:hover {
    background-color: #EAE8E8;
}

.page-nav:focus {
    outline: none;
}

.page-nav.disabled {
    background: #FFFFFF;
    border: 1px solid #EAE8E8;
    color: #FFFFFF;
}

.page-nav.active {
    background: #DD1029;
    color: #FFFFFF;
}

.arrow-left, .arrow-right {
    border: 2px solid #141618;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
}

.arrow-left.disabled, .arrow-right.disabled {
    border: 2px solid #A1A4A9;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
}

.arrow-right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.arrow-left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}


#slider {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99999;
    background: #0c0c0c;
    opacity: 0.95;
}

.fancybox-content {
    width: 100%;
    height: 100%;
    text-align: center;
}

.fancybox-content-left {
    display: inline-block;
    width: 50%;
    margin: 2px;
    height: 100%;
    align-content: center;
}


.fancybox-content-left-content {
    position: relative;
    width: 100%; /* Adjust the width as needed */
    height: 100%; /* Adjust the height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
}

.fancybox-content-left img {
    /*width: 100%;*/
    max-width: 100%;
    max-height: 95%;
}

.fancybox-content-right {
    display: inline-block;
    width: 450px;
    margin: 2px;
    text-align: left;
    vertical-align: top;
    padding: 10px 20px 20px 10px;
}

.fancybox-content-right div:first-child {
    display: flex;
    flex-direction: row;
    height: 40px;
}

.fancybox-content-right div:nth-child(2) {
    display: flex;
    flex-direction: column;
    line-height: 20px;
    vertical-align: center;
}

.fancybox-content-right .avatar {
    width: 40px;
    display: inline;
}

.fancybox-content-right .avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.fancybox-content .hr {
    height: 2px;
    width: 100%;
    border: 1px solid #FFFFFF;
    margin-top: 10px;
    margin-bottom: 10px
}

.fancybox-content .fancybox-img-info {
    display: inline;
    width: 100%;
    font-size: 14px;
    font-family: PingFangHK-Regular, serif;
    line-height: 14px;
    margin-left: 10px;
    color: #FFFFFF;
    font-weight: 400;
}

.fancybox-content .img-description {
    display: inline;
    width: 100%;
    font-size: 15px;
    line-height: 21px;
    font-family: PingFangHK-Regular, serif;
    color: #FFFFFF;
    font-weight: 400;
}

#morthreport {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
}

.circlipsis {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background-color: #FFFFFF;
    cursor: pointer;
}

.circlipsis:before, .circlipsis:after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background-color: #FFFFFF;
}

.circlipsis:before {
    top: 0;
    right: 150%;
}

.circlipsis:after {
    top: 0;
    left: 150%;
}

.album-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 200px 15px 20px;
}

.album-empty-state__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 32px;
    border-radius: 8px;
}

.album-empty-state__icon-wrap img {
    width: 80px;
    height: auto;
}

.album-empty-state__text {
    margin-top: 12px;
    font-family: SFProText, SFProText, 'SFProText-Regular', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #8E8E93;
    line-height: 16px;
    text-align: right;
    font-style: normal;
}
