/* style.css - Tüm Uygulamanın Görsel Tasarım Kuralları */

/* 1. Temel Sayfa Ayarları (Arka plan rengi ve yazı tipi) */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0fdf4; /* Çok hafif, ferah bir yeşil tonu */
    color: #333333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* 2. Ana Taşıyıcı Kutu (Beyaz kart görünümü) */
.container {
    background-color: #ffffff;
    width: 100%;
    max-width: 500px; /* Bilgisayarda çok yayılmasını engeller, mobilde tam oturur */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Hafif gölge efekti */
}

/* Başlık ve Açıklama Yazıları */
h1 {
    color: #166534; /* Koyu yeşil başlık */
    font-size: 24px;
    text-align: center;
    margin-top: 0;
}

p {
    text-align: center;
    color: #666666;
    font-size: 14px;
    margin-bottom: 25px;
}

h2 {
    color: #15803d;
    font-size: 20px;
}

/* 3. Form Elemanları (Kutucuklar, başlıklar) */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #4b5563;
}

/* Metin giriş kutuları ve seçim menüleri */
input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box; /* Taşkınlıkları önler */
    transition: border-color 0.3s ease;
}

/* Kutucuğa tıklanınca kenarlığının yeşil olması */
input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.2);
}

/* 4. Onay Kutuları (Hatim ve Zikir seçimi) */
.checkbox-group {
    display: flex;
    align-items: center;
    background-color: #f9fafb;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.checkbox-group input[type="checkbox"],
.checkbox-group input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

/* 5. Buton Tasarımları */
button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Ana Buton (Organizasyonu Oluştur) */
.btn-primary {
    background-color: #16a34a;
    color: white;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #15803d; /* Üzerine gelince biraz koyulaşır */
}

/* İkincil Buton (Linki Kopyala) */
.btn-secondary {
    background-color: #3b82f6; /* Mavi tonu */
    color: white;
}

.btn-secondary:hover {
    background-color: #2563eb;
}

/* Sadece okuma modundaki (readonly) link kutusu */
#share-link {
    background-color: #f3f4f6;
    color: #374151;
    font-weight: 500;
    text-align: center;
}
/* 6. Zikir Geçmişi Listesi */
.log-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 150px; /* Yüksekliği sabitler, taşıyan kısmı gizler */
    overflow-y: auto; /* Aşağı kaydırma çubuğu çıkarır */
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
}

.log-list li {
    padding: 10px;
    border-left: 4px solid #e5e7eb; /* Varsayılan kenarlık */
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.log-list li:last-child {
    border-bottom: none;
}

.log-time {
    color: #9ca3af;
    font-size: 12px;
    margin-left: 10px;
}