/* Etkinlik Eklentisi Frontend Stilleri */

/* CSS Değişkenleri - Elementor Widget Renk Kontrolleri */
:root {
    /* Etkinlik List Widget */
    --etkinlik-title-color: #333333;
    --etkinlik-meta-color: #666666;
    --etkinlik-excerpt-color: #555555;
    --etkinlik-button-text-color: #ffffff;
    --etkinlik-button-hover-color: #005a87;
    --etkinlik-grid-item-bg: #ffffff;
    --etkinlik-grid-item-hover-bg: #f8f9fa;
    --etkinlik-grid-item-shadow: rgba(0, 0, 0, 0.1);
    --etkinlik-list-item-bg: #ffffff;
    --etkinlik-list-item-border: #e9ecef;
    --etkinlik-thumbnail-overlay: rgba(0, 0, 0, 0.3);
    --etkinlik-category-bg: #f0f8ff;
    --etkinlik-category-text: #007cba;
    --etkinlik-icon-color: #666666;
    
    /* Etkinlik Gallery Widget */
    --etkinlik-gallery-item-border: #e9ecef;
    --etkinlik-gallery-item-shadow: rgba(0, 0, 0, 0.1);
    --etkinlik-photo-name-color: #ffffff;
    --etkinlik-photo-date-color: #cccccc;
    --etkinlik-photo-actions-bg: rgba(255, 255, 255, 0.9);
    --etkinlik-photo-actions-color: #333333;
    --etkinlik-photo-actions-hover-bg: #0073aa;
    --etkinlik-photo-actions-hover-color: #ffffff;
    --etkinlik-download-btn-color: #0073aa;
    --etkinlik-download-btn-text-color: #ffffff;
    --etkinlik-download-btn-hover-color: #005a87;
    
    /* Etkinlik Upload Widget */
    --etkinlik-upload-btn-bg: #007cba;
    --etkinlik-upload-btn-text: #ffffff;
    --etkinlik-upload-btn-hover-bg: #005a87;
    --etkinlik-form-bg: #ffffff;
    --etkinlik-form-border: #e1e5e9;
    --etkinlik-form-shadow: rgba(0, 0, 0, 0.1);
    --etkinlik-form-label-color: #333333;
    --etkinlik-input-border: #e1e5e9;
    --etkinlik-input-focus-border: #007cba;
    --etkinlik-input-focus-shadow: rgba(0, 124, 186, 0.1);
    --etkinlik-file-info-bg: #f8f9fa;
    --etkinlik-file-info-text: #555555;
    
    /* Etkinlik Social Share Widget */
    --etkinlik-whatsapp-color: #25D366;
    --etkinlik-facebook-color: #1877F2;
    --etkinlik-twitter-color: #1DA1F2;
    --etkinlik-instagram-color: #E4405F;
    --etkinlik-telegram-color: #0088CC;
    --etkinlik-email-color: #6c757d;
    --etkinlik-copy-link-color: #495057;
    --etkinlik-qr-code-color: #343a40;
    --etkinlik-share-widget-bg: #ffffff;
    --etkinlik-share-widget-border: #e9ecef;
    --etkinlik-share-widget-shadow: rgba(0, 0, 0, 0.1);
    
    /* Etkinlik Advanced Upload Widget */
    --etkinlik-advanced-form-bg: #ffffff;
    --etkinlik-advanced-form-border: #e1e5e9;
    --etkinlik-advanced-form-shadow: rgba(0, 0, 0, 0.1);
    --etkinlik-advanced-label-color: #333333;
    --etkinlik-advanced-input-border: #e1e5e9;
    --etkinlik-advanced-input-focus-border: #007cba;
    --etkinlik-advanced-input-focus-shadow: rgba(0, 124, 186, 0.1);
    --etkinlik-upload-area-bg: #f8f9fa;
    --etkinlik-upload-area-border: #dee2e6;
    --etkinlik-upload-area-hover-bg: #e9ecef;
    --etkinlik-upload-area-hover-border: #007cba;
    --etkinlik-upload-icon-color: #6c757d;
    --etkinlik-upload-text-color: #495057;
    --etkinlik-upload-btn-bg: #ffffff;
    --etkinlik-upload-btn-text: #007cba;
    --etkinlik-upload-btn-border: #007cba;
    --etkinlik-progress-bar-bg: #e9ecef;
    --etkinlik-progress-fill-color: #007cba;
    --etkinlik-progress-text-color: #495057;
}

/* Genel Stiller */
.etkinlik-list {
    display: grid;
    gap: 30px;
    margin: 20px 0;
}

.etkinlik-list.grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.etkinlik-list.list-layout {
    grid-template-columns: 1fr;
}

.etkinlik-item {
    background: var(--etkinlik-grid-item-bg, #fff);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--etkinlik-grid-item-shadow, rgba(0, 0, 0, 0.1));
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.etkinlik-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--etkinlik-grid-item-shadow, rgba(0, 0, 0, 0.15));
    background: var(--etkinlik-grid-item-hover-bg, #f8f9fa);
}

.etkinlik-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.etkinlik-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.etkinlik-item:hover .etkinlik-thumbnail img {
    transform: scale(1.05);
}

.etkinlik-content {
    padding: 20px;
}

.etkinlik-title {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    font-weight: 600;
}

.etkinlik-title a {
    color: var(--etkinlik-title-color, #333);
    text-decoration: none;
    transition: color 0.3s ease;
}

.etkinlik-title a:hover {
    color: #007cba;
}

.etkinlik-date,
.etkinlik-location {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--etkinlik-meta-color, #666);
    font-size: 0.9em;
}

.etkinlik-date i,
.etkinlik-location i {
    margin-right: 8px;
    width: 16px;
    color: var(--etkinlik-icon-color, #666);
}

.etkinlik-excerpt {
    margin: 15px 0;
    color: var(--etkinlik-excerpt-color, #555);
    line-height: 1.6;
}

.etkinlik-meta {
    margin: 15px 0;
}

.etkinlik-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.etkinlik-category {
    background: var(--etkinlik-category-bg, #f0f8ff);
    color: var(--etkinlik-category-text, #007cba);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

.etkinlik-actions {
    margin-top: 20px;
}

/* Buton Stilleri */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background: var(--etkinlik-upload-btn-bg, linear-gradient(135deg, #007cba 0%, #005a87 100%));
    color: var(--etkinlik-button-text-color, #fff);
}

.btn-primary:hover {
    background: var(--etkinlik-button-hover-color, linear-gradient(135deg, #005a87 0%, #004066 100%));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Fotoğraf Yükleme Formu */
.etkinlik-upload-form {
    background: var(--etkinlik-form-bg, #fff);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--etkinlik-form-shadow, rgba(0, 0, 0, 0.1));
    margin: 20px 0;
    border: 1px solid var(--etkinlik-form-border, #e1e5e9);
}

.etkinlik-upload-form h3 {
    margin: 0 0 20px 0;
    color: var(--etkinlik-upload-title-color, #333);
    font-size: 1.5em;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--etkinlik-form-label-color, #333);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="file"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--etkinlik-input-border, #e1e5e9);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--etkinlik-input-focus-border, #007cba);
    box-shadow: 0 0 0 3px var(--etkinlik-input-focus-shadow, rgba(0, 124, 186, 0.1));
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.85em;
}

/* Alert Mesajları */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Galeri Stilleri */
.etkinlik-gallery {
    margin: 20px 0;
}

.gallery-grid {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.gallery-grid.columns-1 { grid-template-columns: repeat(1, 1fr); }
.gallery-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid.columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-grid.columns-6 { grid-template-columns: repeat(6, 1fr); }

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px var(--etkinlik-gallery-item-shadow, rgba(0, 0, 0, 0.1));
    border: 1px solid var(--etkinlik-gallery-item-border, #e9ecef);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--etkinlik-info-text-color, #fff);
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .photo-info {
    transform: translateY(0);
}

.photo-name {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--etkinlik-photo-name-color, #ffffff);
}

.photo-date {
    font-size: 0.85em;
    opacity: 0.9;
    color: var(--etkinlik-photo-date-color, #cccccc);
}

/* Lightbox */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-info {
    padding: 20px;
    background: #fff;
}

.lightbox-name {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #333;
}

.lightbox-date {
    margin: 0;
    color: #666;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    pointer-events: all;
    transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Hover Efektleri */
.etkinlik-gallery-widget.hover-zoom .gallery-item img {
    transition: transform 0.3s ease;
}

.etkinlik-gallery-widget.hover-zoom .gallery-item:hover img {
    transform: scale(1.1);
}

.etkinlik-gallery-widget.hover-fade .gallery-item img {
    transition: opacity 0.3s ease;
}

.etkinlik-gallery-widget.hover-fade .gallery-item:hover img {
    opacity: 0.8;
}

.etkinlik-gallery-widget.hide-info .photo-info {
    display: none;
}

/* Dosya Bilgileri */
.file-info {
    background: var(--etkinlik-file-info-bg, #f8f9fa);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    color: var(--etkinlik-file-info-text, #555555);
}

.file-info h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.file-info ul {
    margin: 0;
    padding-left: 20px;
}

.file-info li {
    margin-bottom: 8px;
    color: #555;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .etkinlik-list.grid-layout {
        grid-template-columns: 1fr;
    }
    
    /* Sadece shortcode ile kullanılan (Elementor OLMAYAN) galeri grid'leri için tablet kuralları */
    .etkinlik-gallery:not(.elementor-widget-etkinlik-gallery *) .gallery-grid.columns-3,
    .etkinlik-gallery:not(.elementor-widget-etkinlik-gallery *) .gallery-grid.columns-4,
    .etkinlik-gallery:not(.elementor-widget-etkinlik-gallery *) .gallery-grid.columns-5,
    .etkinlik-gallery:not(.elementor-widget-etkinlik-gallery *) .gallery-grid.columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Tablet için 1 sütun seçeneği korunur */
    .gallery-grid.columns-1 {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .etkinlik-upload-form {
        padding: 20px;
    }
    
    .lightbox-content {
        margin: 10px;
    }
    
    .lightbox-nav {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    /* Sadece shortcode ile kullanılan (Elementor OLMAYAN) galeri grid'leri için mobil kuralları */
    .etkinlik-gallery:not(.elementor-widget-etkinlik-gallery *) .gallery-grid:not(.columns-1) {
        grid-template-columns: 1fr !important;
    }
    
    /* 2 sütun seçeneği mobilde 2 sütun kalabilir - sadece shortcode */
    .etkinlik-gallery:not(.elementor-widget-etkinlik-gallery *) .gallery-grid.columns-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Elementor widget'larını mobil kurallarından tamamen muaf tut */
    .elementor-widget-etkinlik-gallery .gallery-grid {
        /* Elementor'un kendi responsive ayarlarını kullan */
    }
    
    .etkinlik-content {
        padding: 15px;
    }
    
    .etkinlik-upload-form {
        padding: 15px;
    }
}

/* Loading Animasyonu */
.btn-loading {
    display: inline-block;
}

.btn-loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Photos Mesajı */
.no-photos {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* Form Validation */
.form-group input:invalid {
    border-color: #dc3545;
}

.form-group input:valid {
    border-color: #28a745;
}

/* reCAPTCHA Container */
.g-recaptcha {
    display: flex;
    justify-content: center;
}

/* Elementor Widget Overrides */
.etkinlik-elementor-widget .etkinlik-list {
    margin: 0;
}

/* Elementor Responsive Grid Desteği - Yüksek Specificity */
.elementor-element.elementor-element .elementor-widget-etkinlik-gallery .gallery-grid {
    /* Elementor'un responsive kontrollerini destekle - yüksek specificity ile */
}

/* Elementor widget'ları için CSS override koruması */
.elementor-widget-etkinlik-gallery .gallery-grid {
    /* Temel grid ayarları */
}

/* Elementor widget'ları için - sadece gerektiğinde müdahale et */
@media (max-width: 1024px) {
    /* Tablet için - Elementor ayarları yoksa varsayılan */
    .elementor-widget-etkinlik-gallery .gallery-grid:not([style*="grid-template-columns"]) {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    /* Mobil için - Elementor ayarları yoksa varsayılan */
    .elementor-widget-etkinlik-gallery .gallery-grid:not([style*="grid-template-columns"]) {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Elementor widget'ları için önemli kural: Kendi responsive ayarlarını kullan */
@media (max-width: 480px) {
    /* Elementor widget'larında hiçbir override yapma - tamamen Elementor'a bırak */
    .elementor-widget-etkinlik-gallery .gallery-grid {
        /* Elementor'un responsive kontrollerini tamamen koru */
    }
}

.etkinlik-upload-widget .form-description {
    text-align: center;
    color: var(--etkinlik-upload-description-color, #666);
    margin-bottom: 25px;
    font-size: 1.1em;
}

/* Galeri İndirme Butonları */
.download-buttons {
    margin: 20px 0;
    text-align: center;
}

.download-buttons.download-top {
    margin-bottom: 20px;
}

.download-buttons.download-bottom {
    margin-top: 20px;
}

.download-btn {
    background: var(--etkinlik-download-btn-color, #0073aa);
    color: var(--etkinlik-download-btn-text-color, #fff);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.download-btn:hover {
    background: var(--etkinlik-download-btn-hover-color, #005a87);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
}

.download-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.download-btn i {
    font-size: 14px;
}

.download-count {
    margin-left: 15px;
    color: #646970;
    font-size: 13px;
}

/* Fotoğraf Aksiyon Butonları */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.photo-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .photo-actions {
    opacity: 1;
}

.photo-actions .download-btn,
.photo-actions .view-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    background: var(--etkinlik-photo-actions-bg, rgba(255, 255, 255, 0.9));
    color: var(--etkinlik-photo-actions-color, #333);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.photo-actions .download-btn:hover {
    background: var(--etkinlik-photo-actions-hover-bg, #0073aa);
    color: var(--etkinlik-photo-actions-hover-color, #fff);
    transform: scale(1.1);
}

.photo-actions .view-btn:hover {
    background: #333;
    color: #fff;
    transform: scale(1.1);
}

/* Lightbox İndirme Butonu */
.lightbox-info .download-btn {
    margin-top: 15px;
    padding: 8px 16px;
    font-size: 13px;
}

/* Mobile Optimizasyonlar */
@media (max-width: 768px) {
    .photo-actions {
        opacity: 1;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 0 0 0 8px;
        padding: 4px;
    }
    
    .photo-actions .download-btn,
    .photo-actions .view-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .download-buttons {
        margin: 15px 0;
    }
    
    .download-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .download-count {
        display: block;
        margin: 8px 0 0 0;
    }
}

/* Loading Animasyonu */
.download-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

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

/* Beğeni Butonları */
.like-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #666;
    border: none;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    position: relative;
}

.like-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.like-btn.liked {
    background: #e91e63;
    color: #fff;
}

.like-btn.liked:hover {
    background: #c2185b;
}

.like-btn .fa-heart {
    font-size: 14px;
}

.like-btn .like-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #333;
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 500;
    min-width: 16px;
    text-align: center;
    line-height: 1;
}

.like-btn.liked .like-count {
    background: #fff;
    color: #e91e63;
}

/* Lightbox Beğeni Butonu */
.lightbox-like {
    width: auto;
    height: auto;
    padding: 8px 16px;
    border-radius: 6px;
    margin-left: 10px;
    gap: 8px;
}

.lightbox-like .like-count {
    position: static;
    background: transparent;
    color: inherit;
    border-radius: 0;
    padding: 0;
    font-size: 14px;
    min-width: auto;
}

.lightbox-like .like-text {
    font-size: 14px;
    font-weight: 500;
}

.lightbox-actions {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

/* Galeri Item Beğeni Pozisyonu */
.gallery-item .photo-actions {
    display: flex;
    gap: 4px;
    flex-direction: column;
}

.gallery-item .like-btn {
    margin-top: 4px;
}

/* Beğeni Animasyonu */
@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

.like-btn.liked .fa-heart {
    animation: heartBeat 0.8s ease-in-out;
}

/* Kullanıcı Limit Uyarıları */
.user-limit-info {
    margin-top: 15px;
}

.limit-warning {
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.limit-warning i {
    font-size: 16px;
    flex-shrink: 0;
}

.limit-warning.info {
    background: #e7f3ff;
    color: #0073aa;
    border: 1px solid #b8daff;
}

.limit-warning.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.limit-warning.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Upload Area Disabled State */
.upload-area.disabled {
    opacity: 0.6;
    pointer-events: none;
    background: #f5f5f5;
}

.upload-area.disabled .upload-content {
    color: #999;
}

/* Mobil Optimizasyonlar */
@media (max-width: 768px) {
    .like-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .like-btn .fa-heart {
        font-size: 12px;
    }
    
    .like-btn .like-count {
        font-size: 9px;
        padding: 1px 4px;
        top: -6px;
        right: -6px;
    }
    
    .lightbox-like {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .lightbox-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .lightbox-actions .download-btn,
    .lightbox-actions .like-btn {
        width: 100%;
        justify-content: center;
    }
    
    .limit-warning {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .limit-warning i {
        font-size: 14px;
    }
}

/* Admin Panel Mesaj Stilleri */
.photo-message,
.edit-photo-message {
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.4;
}

.photo-message .dashicons,
.edit-photo-message .dashicons {
    color: #0073aa;
    margin-right: 6px;
    vertical-align: middle;
    font-size: 16px;
}

.photo-message .message-text,
.edit-photo-message .message-text {
    color: #333;
    font-style: italic;
}

.edit-photo-message {
    background: #fff3cd;
    border-color: #ffeaa7;
    margin-top: 5px;
}

.edit-photo-message .dashicons {
    color: #856404;
}

/* Admin Fotoğraf Listesi */
.edit-photos-list .photo-message {
    margin: 5px 0 0 0;
    padding: 8px 10px;
    font-size: 12px;
}

/* Form Mesaj Alanı Stilleri */
.form-group textarea[placeholder] {
    color: #999;
}

.form-group textarea[placeholder]:focus {
    color: #333;
}

.form-group label[for*="message"] {
    color: #666;
    font-weight: normal;
}

/* Mesaj Alanı Responsive */
@media (max-width: 768px) {
    .photo-message,
    .edit-photo-message {
        padding: 8px 10px;
        font-size: 12px;
        margin: 5px 0;
    }
    
    .photo-message .dashicons,
    .edit-photo-message .dashicons {
        font-size: 14px;
        margin-right: 5px;
    }
} 