/* Tespih Sorgulama Sayfası Stilleri */
.tespih-sorgulama-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tespih-sorgulama-header {
    text-align: center;
    margin-bottom: 50px;
}

.tespih-sorgulama-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.tespih-sorgulama-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Form Stilleri */
.tespih-sorgulama-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.form-group input[type="text"] {
    padding: 15px 20px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input[type="text"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.form-group button:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.form-group button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Sonuç Alanı */
.tespih-sonuc {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.tespih-bilgi-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #3498db;
    margin-bottom: 40px;
}

.tespih-bilgi-container h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.tespih-bilgi-liste {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bilgi-satir {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.bilgi-satir:last-child {
    border-bottom: none;
}

.bilgi-label {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
}

.bilgi-value {
    color: #34495e;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: right;
    flex: 1;
}

/* Not alanı için özel stiller */
.not-satir {
    border-top: 2px solid #3498db !important;
    padding-top: 20px !important;
    margin-top: 15px !important;
}

.not-value {
    font-style: italic !important;
    color: #7f8c8d !important;
    font-weight: 500 !important;
    text-align: left !important;
    line-height: 1.6 !important;
    white-space: pre-wrap !important;
}

/* Admin Bilgi Alanı */
.tespih-admin-bilgi {
    background: #fff3cd;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #ffc107;
    margin-bottom: 40px;
}

.tespih-admin-bilgi h3 {
    color: #856404;
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 10px;
}

/* Galeri Stilleri */
.tespih-galeri {
    margin-top: 40px;
}

.tespih-galeri h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.galeri-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.galeri-item:hover {
    transform: scale(1.05);
}

.galeri-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Yüklenme Göstergesi */
.yuklenme-indicator {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #ecf0f1;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.yuklenme-indicator p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin: 0;
}

/* Hata Mesajları */
.hata-mesaji {
    background: #e74c3c;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Lightbox Stilleri */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #2c3e50;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
    background: rgba(255,255,255,0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.lightbox-close:hover {
    background: rgba(231,76,60,0.1);
    color: #e74c3c;
    border-color: #e74c3c;
}

#lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 3px solid #fff;
    display: block;
    margin: 0 auto;
}

.lightbox-nav {
    position: relative;
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.lightbox-nav button {
    background: rgba(52,152,219,0.9);
    color: white;
    border: 2px solid #3498db;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.lightbox-nav button:hover {
    background: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52,152,219,0.3);
    color: #fff;
}

.lightbox-nav button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(149,165,166,0.6);
    border-color: #95a5a6;
    transform: none;
    box-shadow: none;
}



/* Tablet Ekranlar */
@media (max-width: 1024px) and (min-width: 769px) {
    .tespih-sorgulama-container {
        padding: 30px 25px;
    }
    
    .tespih-sorgulama-header h1 {
        font-size: 2.2rem;
    }
    
    .tespih-sorgulama-form {
        padding: 35px 30px;
    }
    
    .galeri-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 18px;
    }
    
    .galeri-item img {
        height: 180px;
    }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .tespih-sorgulama-container {
        padding: 15px 10px;
        max-width: 100%;
    }
    
    .tespih-sorgulama-header {
        margin-bottom: 30px;
    }
    
    .tespih-sorgulama-header h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .tespih-sorgulama-header p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .tespih-sorgulama-form {
        padding: 25px 15px;
        margin-bottom: 25px;
        border-radius: 12px;
    }
    
    .form-group {
        gap: 15px;
    }
    
    .form-group label {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .form-group input[type="text"] {
        padding: 12px 15px;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .form-group button {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
        border-radius: 8px;
        align-self: stretch;
    }
    
    .tespih-sonuc {
        padding: 25px 15px;
        border-radius: 12px;
        margin-bottom: 25px;
    }
    
    .tespih-bilgi-container {
        padding: 20px 15px;
        border-radius: 12px;
        margin-bottom: 25px;
    }
    
    .tespih-bilgi-container h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }
    
    .tespih-admin-bilgi {
        padding: 20px 15px;
        border-radius: 12px;
        margin-bottom: 25px;
    }
    
    .tespih-admin-bilgi h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }
    
    .bilgi-satir {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .bilgi-satir:last-child {
        border-bottom: none;
    }
    
    .bilgi-label {
        min-width: auto;
        font-size: 0.95rem;
        font-weight: 600;
        color: #2c3e50;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .bilgi-value {
        text-align: left;
        font-size: 1.05rem;
        font-weight: 600;
        color: #34495e;
        line-height: 1.4;
        width: 100%;
    }
    
    .not-satir {
        padding-top: 15px !important;
        margin-top: 15px !important;
        border-top: 2px solid #3498db !important;
    }
    
    .not-value {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        font-style: italic;
        color: #7f8c8d;
    }
    
    .tespih-galeri {
        margin-top: 25px;
    }
    
    .tespih-galeri h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .galeri-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .galeri-item img {
        height: 140px;
        border-radius: 8px;
    }
    
    .yuklenme-indicator {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }
    
    .yuklenme-indicator p {
        font-size: 1rem;
    }
    
    .hata-mesaji {
        padding: 15px;
        border-radius: 8px;
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .lightbox-modal {
        background: rgba(255,255,255,0.98);
        padding: 15px;
    }
    
    .lightbox-content {
        max-width: 98%;
        max-height: 98%;
        gap: 15px;
    }
    
    .lightbox-close {
        top: -35px;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .lightbox-nav {
        margin-top: 10px;
        gap: 12px;
    }
    
    .lightbox-nav button {
        padding: 10px 18px;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    
    #lightbox-image {
        max-height: 65vh;
        border-width: 2px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    }
}

@media (max-width: 480px) {
    .tespih-sorgulama-container {
        padding: 10px 8px;
    }
    
    .tespih-sorgulama-header {
        margin-bottom: 25px;
    }
    
    .tespih-sorgulama-header h1 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    
    .tespih-sorgulama-header p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .tespih-sorgulama-form {
        padding: 20px 12px;
        margin-bottom: 20px;
        border-radius: 10px;
    }
    
    .form-group {
        gap: 12px;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }
    
    .form-group input[type="text"] {
        padding: 10px 12px;
        font-size: 0.95rem;
        border-radius: 6px;
    }
    
    .form-group button {
        padding: 12px 16px;
        font-size: 0.95rem;
        border-radius: 6px;
    }
    
    .tespih-sonuc {
        padding: 20px 12px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
    
    .tespih-bilgi-container {
        padding: 15px 12px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
    
    .tespih-bilgi-container h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .tespih-admin-bilgi {
        padding: 15px 12px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
    
    .tespih-admin-bilgi h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .bilgi-satir {
        gap: 6px;
        padding: 10px 0;
    }
    
    .bilgi-label {
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }
    
    .bilgi-value {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .not-satir {
        padding-top: 12px !important;
        margin-top: 12px !important;
    }
    
    .not-value {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    .tespih-galeri {
        margin-top: 20px;
    }
    
    .tespih-galeri h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .galeri-item img {
        height: 120px;
        border-radius: 6px;
    }
    
    .yuklenme-indicator {
        padding: 25px 15px;
        border-radius: 10px;
    }
    
    .spinner {
        width: 35px;
        height: 35px;
        margin-bottom: 12px;
    }
    
    .yuklenme-indicator p {
        font-size: 0.95rem;
    }
    
    .hata-mesaji {
        padding: 12px;
        border-radius: 6px;
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .lightbox-modal {
        padding: 10px;
    }
    
    .lightbox-content {
        max-width: 99%;
        max-height: 99%;
        gap: 10px;
    }
    
    .lightbox-close {
        top: -30px;
        right: 0;
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
    
    .lightbox-nav {
        margin-top: 8px;
        gap: 8px;
    }
    
    .lightbox-nav button {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 15px;
    }
    
    #lightbox-image {
        max-height: 55vh;
        border-radius: 8px;
    }
}

/* Çok küçük ekranlar için ek optimizasyonlar */
@media (max-width: 360px) {
    .tespih-sorgulama-container {
        padding: 8px 5px;
    }
    
    .tespih-sorgulama-header h1 {
        font-size: 1.4rem;
        line-height: 1.1;
    }
    
    .tespih-sorgulama-header p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .tespih-sorgulama-form {
        padding: 15px 10px;
        margin-bottom: 15px;
    }
    
    .form-group input[type="text"] {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .form-group button {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .tespih-sonuc {
        padding: 15px 10px;
        margin-bottom: 15px;
    }
    
    .tespih-bilgi-container {
        padding: 12px 10px;
        margin-bottom: 15px;
    }
    
    .tespih-bilgi-container h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .bilgi-satir {
        gap: 4px;
        padding: 8px 0;
    }
    
    .bilgi-label {
        font-size: 0.85rem;
    }
    
    .bilgi-value {
        font-size: 0.95rem;
    }
    
    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .galeri-item img {
        height: 100px;
    }
    
    .lightbox-content {
        max-width: 100%;
        max-height: 100%;
    }
    
    .lightbox-close {
        top: -25px;
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
    
    .lightbox-nav button {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    #lightbox-image {
        max-height: 50vh;
    }
} 