/* GENEL AYARLAR */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #1b1b1b;
    color: #eaeaea;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



nav,
nav a,
nav span,
#logo,
#cartAmount {
    color: #eaeaea !important;
}

nav svg:not(.emph-icon) path,
nav svg:not(.emph-icon) polygon,
nav svg:not(.emph-icon) circle,
nav svg:not(.emph-icon) rect {
    fill: #eaeaea !important;
}

/* Specific overrides if needed */
#_95-shopping path,
#_95-shopping polygon {
    stroke: #eaeaea !important;
    fill: none !important;
}

.ham-menu span {
    background-color: #eaeaea !important;
}


main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

footer {
    background-color: #555;
}

.social-media img {
    filter: invert(100%) sepia(0%) saturate(0%) brightness(92%) contrast(100%);
    /* This filter makes black SVGs look like #eaeaea */
}


/* MOBILE GÖRÜNÜM (varsayılan) */
.eventContainer,
.stickyContainer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.eventContainer {
    gap: 2rem;
    margin-top: 3rem;
}

/* BANNER */
.bannerContainer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 16px;
}

.bannerContainer img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}

/* Tüm görsellerin taşmasını önle */
.eventContainer img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

/* BİLGİ KUTUSU */
.informationContainer {
    background-color: #2c2c2c;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .informationContainer {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
        gap: 24px;
    }

    .eventInformation {
        grid-column: 1 / 2;
    }

    .midSection {
        grid-column: 2 / 3;
    }
}

.contentHeader {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.eventInformation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: "Archivo";
}

.eventInformation p:last-child,
.rules {
    font-size: 14px;
    color: #ccc;
}

/* LINEUP & SNIFFERS */
.midSection {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

/* LINEUP */
.artist {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    text-decoration: none !important;
    color: inherit !important;
}

a.artist:hover {
    opacity: 0.8;
}

.eventContainer .lineUp .artist img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #444;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.lineUp .artist .artistName {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.artistHours {
    font-size: 12px;
    color: #a4ff4f;
    font-weight: 600;
    background: rgba(164, 255, 79, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Archivo';
}


/* SNIFFERS */
.sniffersContainer {
    background-color: #1f1f1f;
    border-radius: 16px;
    padding: 16px;
    padding-right: 8px;
    scrollbar-gutter: stable;
    height: auto;
    max-height: 250px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.sniffer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.sniffer:last-child {
    border-bottom: none;
}

.sniffer img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.sniffer p:nth-child(2) {
    flex: 1;
    font-weight: 500;
}

.sniffer p:nth-child(3) {
    color: #00ff99;
    font-weight: bold;
}

/* YORUMLAR */
.commentsContainer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comments {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 1rem;
    background-color: #555;
    border-radius: 1rem;
}

.comment {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    align-items: center;
}

.comment img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.commentContent {
    background-color: #1f1f1f;
    padding: 12px 16px;
    border-radius: 12px;
    width: 100%;
}

.commentUp {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
}

.snifferName {
    font-weight: 600;
    color: #fff;
}

.commentDown p {
    color: #999;
    font-size: 13px;
    cursor: pointer;
}

.comment-form {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
}

.comment-form .comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-form form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.comment-input {
    resize: vertical;
    min-height: 40px;
    max-height: 150px;
    padding: 8px 10px;
    font-size: 14px;
    background-color: #333;
    border: none;
    color: #eaeaea;
}

.comment-submit {
    align-self: flex-end;
    margin-top: 6px;
    padding: 6px 14px;
    background-color: #111;
    color: #fff;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.comment-submit:hover {
    background-color: #333;
}


/* STICKY BOX */
.stickyContainer {
    background-color: #2c2c2c;
    border-radius: 20px;
    padding: 20px;
    width: calc(100% - 40px);
    /* sağ/sol boşluklar için */
    margin: 0 auto;
    z-index: 50;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.stickyContainer.not-sticky {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 20px;
    box-shadow: none;
    background-color: #2c2c2c;
}

.stickyContainer h1 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* rec and dot*/
.rec-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #eaeaea;
}

.rec-dot {
    width: 12px;
    height: 12px;
    margin-bottom: 1px;
    border-radius: 50%;
    background-color: red;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.rec-text {
    font-size: 16px;
}


#eventDate {
    color: #8aff52;
    font-weight: 600;
    margin-bottom: 8px;
}

#eventCity {
    color: #ccc;
    margin-bottom: 16px;
}

.ticket {
    background-color: #111;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    color: #eaeaea;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.leftSide {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

#buyTicket {
    background-color: var(--emph);
    border-radius: 0.3rem;
    border: none;
    padding: 16px;
}

.ticketProperty {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#ticketType {
    color: #ccc;
    font-family: "Archivo";
    font-size: 12px;
}

.vertical-line {
    width: 1px;
    height: 40px;
    background-color: #555;
    border: none;
    margin: 10px 20px 10px 20px;
    align-self: flex-start;
}

/* POP UP */
/* Arka plan overlay */
#popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Popup kutu içeriği */
.closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: #ddd;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.closeButton:hover {
    background-color: #555;
}

.popupContent {
    background-color: #222;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    width: 300px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    font-family: "Archivo";
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Görünür hale gelince */
#popupOverlay.show {
    opacity: 1;
    pointer-events: auto;
}

#popupOverlay.show .popupContent {
    transform: scale(1);
}

/* Başlık */
.popupContent h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Adet seçim kutusu */
.quantityControl {
    background-color: #2b2b2b;
    padding: 15px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    margin-bottom: 20px;
}

/* + ve - butonları */
.circleButton {
    background-color: #ccc;
    color: #000;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.circleButton:hover {
    background-color: #d0d0d0;
}

/* Adet metni */
#quantity {
    font-size: 1.5rem;
    color: white;
    min-width: 80px;
}

/* Kasaya Git Butonu */
#goToCheckout {
    background-color: #a4ff4f;
    color: black;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#goToCheckout:hover {
    background-color: #8ee642;
}


/* SNIFFERS KONTEYNIRI */
.eventContainer .sniffersContainer {
    background-color: #2c2c2c;
    border-radius: 20px;
    padding: 20px;
    margin-top: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: none;
    box-sizing: border-box;
    overflow: hidden;
    overflow-x: clip;
}

.eventContainer .sniffersList {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 5px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    inline-size: 100%;
    max-inline-size: 100%;
    min-inline-size: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    contain: inline-size;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.eventContainer .sniffersList::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.eventContainer .snifferBlock {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    min-width: 75px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.eventContainer .snifferBlock:hover {
    transform: scale(1.05);
}

.eventContainer .snifferImage {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    position: relative;
}

.eventContainer .snifferImage img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.eventContainer .snifferUsername {
    font-size: 11px;
    color: #efefef;
    text-align: center;
    font-weight: 400;
    max-width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.eventContainer .snifferRole {
    font-size: 9px;
    color: #a4ff4f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-top: 2px;
}

.eventContainer .eventGalleryContainer {
    border-radius: 20px;
    padding: 24px;
    margin-top: 24px;
    margin-bottom: 40px;
    position: relative;
}

.galleryHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.galleryActions {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.uploadLabel {
    background-color: #a4ff4f;
    height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.uploadText {
    color: #000;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.infoIcon {
    background-color: #a4ff4f;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.uploadLabel:hover,
.infoIcon:hover {
    background-color: #8ee642;
    box-shadow: 0 6px 20px rgba(164, 255, 79, 0.4);
}

.uploadLabel img,
.infoIcon img {
    width: 22px !important;
    height: 22px !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    filter: brightness(0) saturate(100%);
    /* Siyah yapar */
}

.eventContainer .photoGrid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.photoPost {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.postHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
}

.postUserLink {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.commentAvatarLink {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.userLink {
    text-decoration: none;
    color: inherit;
    display: inline;
    margin-right: 4px;
}

.postUserLink:hover .userName,
.userLink:hover {
    text-decoration: underline;
}

.postUser {
    display: flex;
    align-items: center;
}

.userAvatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #444;
}

.userAvatarPlaceholder {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #444;
}

.userName {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.postTime {
    font-size: 10px;
    color: #888;
    display: block;
    margin-top: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.postImageContainer {
    width: 100%;
    overflow: hidden;
    background-color: #000;
    position: relative;
    /* carousel okları için */
    transition: min-height 0.3s ease;
}

.postImageContainer .carousel-slide {
    display: none;
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 600px;
    animation: fadeIn 0.3s ease;
}

.postImageContainer .carousel-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0.8;
    }

    to {
        opacity: 1;
    }
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* INFINITE SCROLL LOADING */
.loading-spinner {
    display: flex;
    justify-content: center;
    padding: 20px;
    width: 100%;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(164, 255, 79, 0.3);
    border-radius: 50%;
    border-top-color: #a4ff4f;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
}

.carousel-dots .dot.active {
    background: #fff;
    transform: scale(1.2);
}

.postImage {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 600px;
}

.postActions {
    display: flex;
    gap: 16px;
    padding: 12px 12px 6px;
}

.actionBtn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: transform 0.2s;
}

.actionBtn:active {
    transform: scale(0.9);
}

.actionIcon,
.actionIcon path {
    stroke: #eaeaea !important;
    fill: transparent;
    transition: all 0.3s ease;
}

.commentHeartIcon,
.commentHeartIcon path {
    stroke: #eaeaea !important;
    fill: transparent;
    transition: all 0.3s ease;
}

.likeBtn.liked .actionIcon,
.likeBtn.liked .actionIcon path,
.commentLikeBtn.liked .commentHeartIcon,
.commentLikeBtn.liked .commentHeartIcon path {
    fill: #ff3040 !important;
    stroke: #ff3040 !important;
}

/* Sayfadaki diğer tüm SVG'ler için genel renk */
.eventContainer svg path,
.stickyContainer svg path {
    stroke: #eaeaea !important;
}

.likeCount,
.commentCount {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.postContent {
    padding: 6px 12px 12px;
}

.postDescription {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.postDescription .bold {
    margin-right: 6px;
}

.bold {
    font-weight: 700;
}

.commentsList {
    margin-bottom: 8px;
}

.commentItem {
    font-size: 13px;
    margin-bottom: 8px;
}

.commentContentRow {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.is-hidden {
    display: none !important;
}

.commentAvatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 2px;
}

.commentAvatarPlaceholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #444;
    flex-shrink: 0;
}

.commentTextWrap {
    flex: 1;
    line-height: 1.4;
    word-break: break-word;
    /* Uzun metinlerin taşmasını önler */
    overflow: hidden;
}

.commentTxt {
    margin-left: 4px;
}

.commentLikeBtn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    width: 30px;
    /* Sabit genişlik */
    flex-shrink: 0;
}

.cLikeCount {
    font-size: 10px;
    color: #888;
}

.viewAllComments {
    background: none;
    border: none;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
}

.addCommentBox {
    display: flex;
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 8px;
    margin-top: 8px;
}

.commentInput {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 4px 0;
}

.commentInput:focus {
    outline: none;
}

.postCommentBtn {
    background: none;
    border: none;
    color: #0095f6;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

/* Modal Steps */
#captionStep {
    padding: 15px;
    text-align: center;
}

#photoDescription {
    width: 100%;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    padding: 10px;
    margin-top: 15px;
    height: 80px;
    resize: none;
    font-family: inherit;
}



.noData {
    color: #888;
    text-align: center;
    padding: 20px;
}

.loginPrompt a {
    text-decoration: underline !important;
}

/* --- CROPPER UI STYLES --- */
.cropper-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 12000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cropper-box {
    background-color: #2c2c2c;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cropper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #444;
}

.cropper-header h3 {
    margin: 0;
    font-family: 'Archivo', sans-serif;
    color: #fff;
}

.closeCropper {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.closeCropper:hover {
    color: #a4ff4f;
}

.cropper-body {
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
}

.image-wrapper {
    width: 100%;
    height: 50vh;
    min-height: 350px;
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.cropper-controls {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ratio-text {
    font-size: 13px;
    color: #bbb;
    text-align: center;
    margin-bottom: 5px;
}

.ratio-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.ratio-btn {
    background-color: transparent;
    border: 1px solid #666;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.ratio-btn:hover {
    border-color: #a4ff4f;
    color: #a4ff4f;
}

.ratio-btn.active {
    background-color: #a4ff4f;
    border-color: #a4ff4f;
    color: #000;
    font-weight: 600;
}

.auto-crop-btn {
    align-self: center;
    background: linear-gradient(135deg, #a4ff4f, #8ce03c);
    color: #000;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 15px;
}

.auto-crop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(164, 255, 79, 0.4);
}

.cropper-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid #444;
    padding-top: 20px;
}

.cancel-crop-btn,
.finish-crop-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.cancel-crop-btn {
    background-color: #444;
    color: #fff;
}

.cancel-crop-btn:hover {
    background-color: #555;
}

.finish-crop-btn {
    background-color: #a4ff4f;
    color: #000;
}

.finish-crop-btn:hover {
    background-color: #8ee642;
}

/* ------------------------------- */
/* MOBİL GÖRÜNÜM (767px ve altı) */
/* ------------------------------- */
@media (max-width: 767px) {
    main {
        margin-top: 1rem;
        padding: 12px;
    }

    .eventContainer {
        gap: 1rem;
    }

    .galleryHeader {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .galleryActions {
        position: static;
        z-index: 10;
    }

    .uploadLabel {
        height: 34px;
        padding: 0 12px;
        gap: 6px;
        border-radius: 8px;
    }

    .uploadText {
        font-size: 11px;
    }

    .uploadLabel img,
    .infoIcon img {
        width: 16px !important;
        height: 16px !important;
    }

    .infoIcon {
        width: 34px;
        height: 34px;
    }

    .contentHeader {
        font-size: 16px;
    }

    .eventContainer .photoGrid {
        max-width: 100%;
        padding: 0;
    }

    .photoPost {
        margin-left: -12px;
        margin-right: -12px;
        border-radius: 12px;
        /* Restore side borders by removing the previous 'none' overrides */
        border-left: 1px solid #333;
        border-right: 1px solid #333;
        overflow: hidden;
        /* Ensure content obeys radius */
    }

    .postImageContainer {
        position: relative;
        overflow: hidden;
        border-radius: 0;
    }

    .postImageContainer .carousel-slide {
        display: none;
        width: 100%;
        border-radius: 0;
    }

    .postImageContainer .carousel-slide.active {
        display: block;
    }

    .informationContainer {
        padding: 16px;
    }

    .stickyContainer {
        bottom: 16px;
        width: calc(100% - 24px);
    }
}

/* ------------------------------- */
/* TABLET (480px - 767px) */
/* ------------------------------- */
@media (min-width: 480px) and (max-width: 767px) {
    .eventContainer .photoGrid {
        max-width: 440px;
    }
}

/* ------------------------------- */
/* MASAÜSTÜ GÖRÜNÜM (768px ve üstü) */
/* ------------------------------- */
@media (min-width: 768px) {
    main {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
        box-sizing: border-box;
    }

    main.has-sidebar {
        display: grid;
        grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
        gap: 32px;
        align-items: flex-start;
    }

    .eventContainer {
        width: 100%;
        min-width: 0;
        /* Grid overflow fix */
    }

    .stickyContainer {
        position: sticky;
        top: 2rem;
        width: 100%;
        min-width: 0;
        /* Grid overflow fix */
        margin: 0;
        transform: none;
        left: auto;
        bottom: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    /* Sniffers masaüstünde tam genişlik kaplasın ve tek satırda kalsın */
    .eventContainer .sniffersContainer {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden;
    }

    .eventContainer .sniffersList {
        display: flex;
        gap: 20px;
        overflow-x: auto !important;
        overflow-y: hidden;
        padding: 10px 5px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        inline-size: 100%;
        max-inline-size: 100%;
        min-inline-size: 0;
    }

    .eventContainer .sniffersList>* {
        flex-shrink: 0 !important;
        min-width: 75px;
    }

    .eventContainer .sniffersList::-webkit-scrollbar {
        display: none;
    }

    .eventContainer .photoGrid {
        max-width: 560px;
    }
}