/* Kitty Kissed Photography - Gallery MVP */

.client-status-panel {
    padding-top: 22px;
    padding-bottom: 22px;
}

.proof-grid-inside-panel {
    width: 100%;
    margin: 0;
}

.proof-photo-card {
    display: grid;
    grid-template-rows: auto 1fr;
}

.proof-lightbox-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: zoom-in;
    font-family: inherit;
    text-align: inherit;
}

.proof-image-wrap,
.studio-photo-image-wrap {
    position: relative;
    overflow: hidden;
    background: rgba(10, 10, 12, 0.62);
}

.proof-image-wrap {
    display: block;
    aspect-ratio: 4 / 5;
}

.proof-image,
.studio-photo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proof-lightbox-trigger .proof-image {
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.proof-lightbox-trigger:hover .proof-image,
.proof-lightbox-trigger:focus-visible .proof-image {
    opacity: 0.82;
    transform: scale(1.035);
}

.proof-type-pill,
.studio-photo-badge,
.studio-photo-hidden-badge {
    position: absolute;
    right: 14px;
    top: 14px;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    color: #F5F5F5;
    background: rgba(0, 0, 0, 0.40);
    border: 1px solid rgba(247, 180, 210, 0.20);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proof-open-pill {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.36rem 0.62rem;
    border-radius: 999px;
    color: #1A1A1D;
    background: rgba(247, 180, 210, 0.92);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.25s ease;
}

.proof-lightbox-trigger:hover .proof-open-pill,
.proof-lightbox-trigger:focus-visible .proof-open-pill {
    opacity: 1;
    transform: translateY(0);
}

.studio-photo-hidden-badge {
    top: auto;
    bottom: 14px;
    color: #FFEAEA;
    border-color: rgba(255, 112, 112, 0.28);
    background: rgba(255, 112, 112, 0.18);
}

.proof-card-body-stacked {
    align-items: stretch;
    flex-direction: column;
}

.proof-favorite-button,
.proof-comment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 0.85rem;
    border: 1px solid rgba(247, 180, 210, 0.22);
    border-radius: 999px;
    color: #F7B4D2;
    background: rgba(26, 26, 29, 0.72);
    cursor: pointer;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: 0.25s ease;
}

.proof-favorite-button:hover,
.proof-favorite-button.is-selected,
.proof-comment-button:hover {
    color: #1A1A1D;
    background: #F7B4D2;
    box-shadow: 0 0 16px rgba(247, 180, 210, 0.18);
}

.proof-comment-button {
    justify-self: start;
    min-height: 36px;
    font-size: 0.76rem;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: clamp(16px, 3vw, 36px);
    background: rgba(5, 5, 7, 0.86);
    backdrop-filter: blur(10px);
}

.gallery-lightbox-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: 14px;
    width: min(100%, 1180px);
    max-height: 92vh;
    overflow: auto;
    padding: clamp(14px, 2vw, 22px);
    border-radius: 28px;
    background: rgba(26, 26, 29, 0.96);
    border: 1px solid rgba(247, 180, 210, 0.18);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.gallery-lightbox-topbar,
.gallery-lightbox-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.gallery-lightbox-topbar strong {
    display: block;
    color: #F5F5F5;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.gallery-lightbox-topbar span,
.gallery-lightbox-footer span {
    color: #B8B8B8;
    font-size: 0.9rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav,
.gallery-lightbox-text-close {
    border: 1px solid rgba(247, 180, 210, 0.22);
    color: #F7B4D2;
    background: rgba(10, 10, 12, 0.60);
    cursor: pointer;
    font-family: 'Montserrat', Arial, sans-serif;
    transition: 0.25s ease;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    font-size: 1rem;
}

.gallery-lightbox-text-close {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover:not(:disabled),
.gallery-lightbox-text-close:hover {
    color: #1A1A1D;
    background: #F7B4D2;
}

.gallery-lightbox-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.gallery-lightbox-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    border-radius: 22px;
    background: rgba(10, 10, 12, 0.62);
    overflow: hidden;
}

.gallery-lightbox-image {
    display: block;
    width: 100%;
    max-height: min(58vh, 680px);
    object-fit: contain;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(10, 10, 12, 0.72);
}

.gallery-lightbox-nav-previous {
    left: 16px;
}

.gallery-lightbox-nav-next {
    right: 16px;
}

.gallery-lightbox-comment-form {
    display: grid;
    gap: 9px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(10, 10, 12, 0.42);
    border: 1px solid rgba(247, 180, 210, 0.14);
}

.gallery-lightbox-comment-form label {
    color: #F5F5F5;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-lightbox-comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(247, 180, 210, 0.18);
    color: #F5F5F5;
    background: rgba(5, 5, 7, 0.44);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.55;
    resize: vertical;
}

.gallery-lightbox-comment-form textarea:focus {
    outline: none;
    border-color: #F7B4D2;
    box-shadow: 0 0 12px rgba(247, 180, 210, 0.12);
}

.studio-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.studio-photo-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(10, 10, 12, 0.36);
    border: 1px solid rgba(247, 180, 210, 0.12);
}

.studio-photo-card-has-new-comments {
    border-color: rgba(247, 180, 210, 0.36);
    box-shadow: 0 0 22px rgba(247, 180, 210, 0.10);
}

.studio-photo-image-wrap {
    aspect-ratio: 4 / 3;
}

.studio-photo-card-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.studio-photo-card-body h3 {
    margin: 0;
    color: #F5F5F5;
    font-size: 1.15rem;
}

.studio-photo-card-body p {
    margin: 0;
    color: #B8B8B8;
    font-size: 0.88rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.studio-photo-manage-form {
    display: grid;
    gap: 10px;
    padding: 13px;
    border-radius: 18px;
    background: rgba(5, 5, 7, 0.34);
    border: 1px solid rgba(247, 180, 210, 0.14);
}

.studio-photo-manage-form label {
    color: #F5F5F5;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.studio-photo-manage-form input,
.studio-photo-manage-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 11px;
    border-radius: 12px;
    border: 1px solid rgba(247, 180, 210, 0.16);
    color: #F5F5F5;
    background: rgba(26, 26, 29, 0.78);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.84rem;
}

.studio-photo-manage-form input:focus,
.studio-photo-manage-form select:focus {
    outline: none;
    border-color: #F7B4D2;
    box-shadow: 0 0 10px rgba(247, 180, 210, 0.12);
}

.studio-photo-manage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 10px;
}

.studio-photo-visible-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #B8B8B8;
    font-size: 0.8rem;
    letter-spacing: 0;
    text-transform: none;
}

.studio-photo-visible-row input {
    width: auto;
}

.studio-photo-manage-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.studio-photo-manage-actions span {
    color: #9E9E9E;
    font-size: 0.76rem;
    line-height: 1.4;
}

.studio-photo-selection-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.studio-photo-selection-list span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    color: #F7B4D2;
    background: rgba(247, 180, 210, 0.08);
    border: 1px solid rgba(247, 180, 210, 0.16);
    font-size: 0.76rem;
}

.studio-photo-comment-list {
    display: grid;
    gap: 8px;
}

.studio-photo-comment-list div {
    padding: 10px 11px;
    border-radius: 14px;
    background: rgba(247, 180, 210, 0.06);
    border: 1px solid rgba(247, 180, 210, 0.12);
}

.studio-photo-comment-list div.studio-photo-comment-new {
    border-color: rgba(247, 180, 210, 0.34);
    background: rgba(247, 180, 210, 0.12);
}

.studio-photo-comment-list strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    color: #F7B4D2;
    font-size: 0.78rem;
}

.studio-photo-comment-list strong span,
.studio-photo-new-comment-badge {
    padding: 0.22rem 0.45rem;
    border-radius: 999px;
    color: #1A1A1D;
    background: #F7B4D2;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.studio-photo-new-comment-badge {
    position: absolute;
    left: 14px;
    top: 14px;
}

.studio-photo-comment-list p {
    color: #E6E6E6;
    white-space: pre-wrap;
}

@media (max-width: 760px) {
    .proof-favorite-button,
    .proof-comment-button {
        width: 100%;
    }

    .proof-open-pill {
        opacity: 1;
        transform: translateY(0);
    }

    .gallery-lightbox {
        padding: 10px;
    }

    .gallery-lightbox-panel {
        max-height: 96vh;
        border-radius: 22px;
    }

    .gallery-lightbox-topbar,
    .gallery-lightbox-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-lightbox-stage {
        border-radius: 18px;
    }

    .gallery-lightbox-image {
        max-height: 50vh;
    }

    .gallery-lightbox-nav {
        width: 42px;
        height: 42px;
    }

    .gallery-lightbox-nav-previous {
        left: 8px;
    }

    .gallery-lightbox-nav-next {
        right: 8px;
    }

    .studio-photo-manage-grid {
        grid-template-columns: 1fr;
    }

    .studio-photo-manage-actions {
        align-items: stretch;
        flex-direction: column;
    }
}