/* PANEL GENEL STİLLERİ */
.detay-panel,
.sozlesme-panel,
.ilan-panel,
.resim-duzenle-panel {
    position: fixed;
    top: 0;
    right: -700px;
    width: 700px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.detay-panel.acik,
.sozlesme-panel.acik,
.ilan-panel.acik,
.resim-duzenle-panel.acik {
    right: 0;
}

/* PANEL BAŞLIKLARI */
.detay-baslik,
.sozlesme-baslik,
.ilan-baslik,
.resim-duzenle-baslik {
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.detay-baslik {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.sozlesme-baslik {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.ilan-baslik {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.resim-duzenle-baslik {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 12px 12px 0 0;
}

.detay-baslik h3,
.sozlesme-baslik h3,
.ilan-baslik h3,
.resim-duzenle-baslik h2 {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* PANEL AKSİYON BUTONLARI */
.detay-aksiyonlar,
.sozlesme-aksiyonlar,
.ilan-aksiyonlar {
    display: flex;
    gap: 10px;
}

.detay-buton-panel,
.sozlesme-buton-panel,
.ilan-buton-panel {
    background: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.detay-buton-panel {
    color: #27ae60;
}

.sozlesme-buton-panel {
    color: #8e44ad;
}

.ilan-buton-panel {
    color: #3498db;
}

.detay-buton-panel:hover,
.sozlesme-buton-panel:hover,
.ilan-buton-panel:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.detay-buton-panel.kapat,
.sozlesme-buton-panel.kapat,
.ilan-buton-panel.kapat,
.resim-duzenle-buton.kapat {
    background: #e74c3c;
    color: white;
}

.detay-buton-panel.kapat:hover,
.sozlesme-buton-panel.kapat:hover,
.ilan-buton-panel.kapat:hover,
.resim-duzenle-buton.kapat:hover {
    background: #c0392b;
}

.sozlesme-buton-panel.yazdir {
    background: #3498db;
    color: white;
}

.sozlesme-buton-panel.yazdir:hover {
    background: #2980b9;
}

.ilan-buton-panel.yazdir {
    background: #e67e22;
    color: white;
}

.ilan-buton-panel.yazdir:hover {
    background: #d35400;
}

/* PANEL İÇERİK ALANLARI */
.detay-icerik,
.sozlesme-icerik,
.ilan-icerik,
.resim-duzenle-icerik {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* DETAY PANEL İÇERİĞİ */
.detay-bolum {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.detay-bolum:last-child {
    border-bottom: none;
}

.detay-bolum h4 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.detay-item {
    display: flex;
    flex-direction: column;
}

.detay-etiket {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 4px;
    font-weight: 500;
}

.detay-deger {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
    padding: 6px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    min-height: 32px;
}

.detay-deger.bos {
    color: #95a5a6;
    font-style: italic;
}

/* SÖZLEŞME PANEL İÇERİĞİ */
.sozlesme-icerik {
    font-family: 'Times New Roman', Times, serif;
    font-size: 12px;
    line-height: 1.4;
}

.sozlesme-baslik-ana {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
}

.sozlesme-baslik-ana h1 {
    color: #000;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: bold;
}

.sozlesme-baslik-ana h2 {
    color: #000;
    margin: 0;
    font-size: 14px;
    font-weight: normal;
}

.sozlesme-bolum {
    margin-bottom: 15px;
    page-break-inside: avoid;
}

.sozlesme-bolum h3 {
    color: #000;
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: bold;
    padding-bottom: 3px;
    border-bottom: 1px solid #ccc;
}

.sozlesme-tablo {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    font-size: 11px;
    border: 1px solid #000;
}

.sozlesme-tablo th,
.sozlesme-tablo td {
    border: 1px solid #000;
    padding: 5px;
    text-align: left;
    vertical-align: top;
}

.sozlesme-tablo th {
    background-color: #f0f0f0;
    font-weight: bold;
}

.sozlesme-alan {
    background-color: transparent;
    font-weight: bold;
    display: inline-block;
}

.sozlesme-madde {
    margin-bottom: 10px;
}

.sozlesme-madde .madde-numarasi {
    font-weight: bold;
    margin-right: 5px;
}

.sozlesme-imza-alani {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #000;
    display: flex;
    justify-content: space-between;
}

.sozlesme-imza {
    text-align: center;
    width: 45%;
}

.sozlesme-imza-cizgi {
    border-top: 1px solid #000;
    width: 80%;
    margin: 25px auto 5px;
}

/* İLAN PANEL İÇERİĞİ */
.ilan-container {
    width: 100%;
    max-width: 700px;
    background: white;
    padding: 20px;
    border: 2px solid #ddd;
}

.ilan-yatay-a4 {
    width: 100%;
    height: 297mm;
    background: linear-gradient(135deg, #1a5276, #2e86c1);
    color: white;
    padding: 30px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ilan-baslik-alani {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 3px solid rgba(255,255,255,0.3);
    padding-bottom: 20px;
}

.ilan-baslik-alani h1 {
    font-size: 42px;
    margin: 0 0 10px 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.ilan-baslik-alani h2 {
    font-size: 24px;
    margin: 0;
    font-weight: 300;
    opacity: 0.9;
}

.ilan-ozellikler {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
    justify-content: center;
}

.ilan-ozellik-kutu {
    background: rgba(255,255,255,0.15);
    border-radius: 15px;
    padding: 20px 30px;
    text-align: center;
    min-width: 200px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ilan-ozellik-kutu .deger {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #ffd700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.ilan-ozellik-kutu .etiket {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.ilan-fiyat-alani {
    text-align: center;
    background: rgba(255,255,255,0.2);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 2px dashed rgba(255,255,255,0.3);
}

.ilan-fiyat {
    font-size: 40px;
    font-weight: 900;
    margin: 0;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.ilan-fiyat-birim {
    font-size: 24px;
    margin-left: 10px;
    opacity: 0.9;
}

.ilan-iletisim {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    border-top: 2px solid rgba(255,255,255,0.3);
}

.ilan-firma {
    text-align: left;
}

.ilan-firma-ad {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.ilan-firma-tel {
    font-size: 18px;
    opacity: 0.9;
}

.ilan-logo {
    font-size: 48px;
    background: rgba(255,255,255,0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESİM SLAYTI PANELİ */
.slayt-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
}

.slayt-panel.acik {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slayt-icerik {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.slayt-resim {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-radius: 10px;
}

.slayt-kontrol {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.slayt-kontrol:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
}

.slayt-onceki {
    left: 20px;
}

.slayt-sonraki {
    right: 20px;
}

.slayt-kapat {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.slayt-kapat:hover {
    background: rgba(255, 0, 0, 0.6);
    transform: scale(1.1);
}

.slayt-indeks {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 18px;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 10px;
    margin: 0 20px;
}

/* RESİM DÜZENLEME PANELİ */
.resim-duzenle-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 3001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.resim-duzenle-icerik {
    background: white;
    border-radius: 12px;
    padding: 25px;
    width: 100%;
    max-width: 1400px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    gap: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* SOL PANEL - CANVAS ALANI */
.canvas-alani {
    flex: 1;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    border: 2px dashed #ddd;
    position: relative;
    margin-top: 60px;
}

#resimCanvas {
    max-width: 100%;
    max-height: 550px;
    background: white;
    border: 2px solid #3498db;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
}

.canvas-bos {
    text-align: center;
    color: #7f8c8d;
    padding: 40px;
}

.canvas-bos-icon {
    font-size: 5rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.canvas-bos h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.canvas-kontrol {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255,255,255,0.9);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #7f8c8d;
    border: 1px solid #e9ecef;
}

.loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 8px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* SAĞ PANEL - KONTROLLER */
.kontrol-paneli {
    width: 350px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    margin-top: 60px;
    max-height: calc(90vh - 100px);
}

.kontrol-bolum {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.kontrol-bolum h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* RESİM YÜKLEME */
.yukleme-secenekleri {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.yukleme-buton {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.yukleme-buton:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.yukleme-buton.printscreen {
    background: #2ecc71;
}

.yukleme-buton.printscreen:hover {
    background: #27ae60;
}

.resim-bilgi {
    background: #e8f6f3;
    border-radius: 6px;
    padding: 10px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #27ae60;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid #27ae60;
}

/* FIRMA BİLGİLERİ */
.firma-alanlari {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.firma-alanlari input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* EMLAK BİLGİLERİ */
.emlak-verileri {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.veri-kutu {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.veri-kutu:hover {
    background: #e9ecef;
    border-color: #bdc3c7;
}

.veri-kutu.secili {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.veri-etiket {
    font-size: 11px;
    color: #7f8c8d;
    margin-bottom: 4px;
    font-weight: 600;
}

.veri-kutu.secili .veri-etiket {
    color: rgba(255,255,255,0.9);
}

.veri-deger {
    font-size: 13px;
    font-weight: 600;
}

/* YAZI ÖZELLİKLERİ */
.yazi-kontrol-grubu {
    margin-bottom: 15px;
}

.yazi-kontrol-grubu label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.yazi-kontrol-grubu input,
.yazi-kontrol-grubu select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.renk-secici {
    display: flex;
    align-items: center;
    gap: 10px;
}

.renk-secici input[type="color"] {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.renk-ornek {
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    min-width: 60px;
    text-align: center;
}

/* KONUM AYARLARI */
.konum-secenekleri {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.konum-buton {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.konum-buton:hover {
    background: #e9ecef;
    border-color: #3498db;
}

.konum-buton.aktif {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.konum-ikon {
    font-size: 20px;
}

/* AKSİYON BUTONLARI */
.aksiyon-butonlari {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.aksiyon-buton {
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.aksiyon-buton.kaydet {
    background: #27ae60;
    color: white;
}

.aksiyon-buton.kaydet:hover {
    background: #219653;
}

.aksiyon-buton.sifirla {
    background: #e74c3c;
    color: white;
}

.aksiyon-buton.sifirla:hover {
    background: #c0392b;
}

.aksiyon-buton.kapat {
    grid-column: 1 / -1;
    background: #95a5a6;
    color: white;
}

.aksiyon-buton.kapat:hover {
    background: #7f8c8d;
}

/* HIDDEN FILE INPUT */
#resimDosyaInput {
    display: none;
}
/* ==================== RESİM DÜZENLEME PANELİ ==================== */
.resim-duzenle-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 3001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.resim-duzenle-panel.acik {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.resim-duzenle-icerik {
    background: white;
    border-radius: 12px;
    padding: 25px;
    width: 100%;
    max-width: 1400px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    gap: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.resim-duzenle-baslik {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 25px;
    border-radius: 12px 12px 0 0;
    z-index: 10;
}

.resim-duzenle-baslik h2 {
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* SOL PANEL - CANVAS ALANI */
.canvas-alani {
    flex: 1;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    border: 2px dashed #ddd;
    position: relative;
    margin-top: 60px;
}

#resimCanvas {
    max-width: 100%;
    max-height: 550px;
    background: white;
    border: 2px solid #3498db;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
}

.canvas-bos {
    text-align: center;
    color: #7f8c8d;
    padding: 40px;
}

.canvas-bos h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.canvas-kontrol {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255,255,255,0.9);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #7f8c8d;
    border: 1px solid #e9ecef;
}

/* SAĞ PANEL - KONTROLLER */
.kontrol-paneli {
    width: 350px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    margin-top: 60px;
    max-height: calc(90vh - 100px);
}

.kontrol-bolum {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.kontrol-bolum h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* RESİM YÜKLEME */
.yukleme-secenekleri {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.yukleme-buton {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.yukleme-buton:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.yukleme-buton.printscreen {
    background: #2ecc71;
}

.yukleme-buton.printscreen:hover {
    background: #27ae60;
}

.resim-bilgi {
    background: #e8f6f3;
    border-radius: 6px;
    padding: 10px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #27ae60;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid #27ae60;
}

/* FIRMA BİLGİLERİ */
.firma-alanlari {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.firma-alanlari input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* EMLAK BİLGİLERİ */
.emlak-verileri {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.veri-kutu {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.veri-kutu:hover {
    background: #e9ecef;
    border-color: #bdc3c7;
}

.veri-kutu.secili {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.veri-etiket {
    font-size: 11px;
    color: #7f8c8d;
    margin-bottom: 4px;
    font-weight: 600;
}

.veri-kutu.secili .veri-etiket {
    color: rgba(255,255,255,0.9);
}

.veri-deger {
    font-size: 13px;
    font-weight: 600;
}

/* YAZI ÖZELLİKLERİ */
.yazi-kontrol-grubu {
    margin-bottom: 15px;
}

.yazi-kontrol-grubu label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.yazi-kontrol-grubu input,
.yazi-kontrol-grubu select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.renk-secici {
    display: flex;
    align-items: center;
    gap: 10px;
}

.renk-secici input[type="color"] {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.renk-ornek {
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    min-width: 60px;
    text-align: center;
}

/* KONUM AYARLARI */
.konum-secenekleri {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.konum-buton {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.konum-buton:hover {
    background: #e9ecef;
    border-color: #3498db;
}

.konum-buton.aktif {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.konum-ikon {
    font-size: 20px;
}

/* AKSİYON BUTONLARI */
.aksiyon-butonlari {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.aksiyon-buton {
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.aksiyon-buton.kaydet {
    background: #27ae60;
    color: white;
}

.aksiyon-buton.kaydet:hover {
    background: #219653;
}

.aksiyon-buton.sifirla {
    background: #e74c3c;
    color: white;
}

.aksiyon-buton.sifirla:hover {
    background: #c0392b;
}

.aksiyon-buton.kapat {
    grid-column: 1 / -1;
    background: #95a5a6;
    color: white;
}

.aksiyon-buton.kapat:hover {
    background: #7f8c8d;
}
/* Normal durum */
#printButton {
    display: block;
}

/* Yazdırma modunda */
body.print-mode #printButton,
body.print-mode button,
body.print-mode .no-print {
    display: none !important;
}
