/* Online Bağış Sayfası Özel Stilleri */

/* Mobile Select Styling */
#mobile-donation-type {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* 1. Bağış Türü Butonları (Kart Görünümü) */
.type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 2px solid #f1f5f9;
    background-color: #ffffff;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.type-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: #94a3b8;
    transition: color 0.2s;
}

/* Kategoriye Özel İkon Renkleri */
.type-btn[data-type="genel"] i { color: #3b82f6; }
.type-btn[data-type="sukuyusu"] i { color: #06b6d4; }
.type-btn[data-type="kurban"] i { color: #ef4444; }
.type-btn[data-type="agid"] i { color: #f97316; }
.type-btn[data-type="iyilikcorbasi"] i { color: #eab308; }
.type-btn[data-type="yetim"] i { color: #ec4899; }
.type-btn[data-type="kalici"] i { color: #10b981; }
.type-btn[data-type="acil"] i { color: #dc2626; }
.type-btn[data-type="zekat"] i { color: #d97706; }

.type-btn:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
    transform: translateY(-2px);
}

.type-btn.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); /* Solid Mavi Gradient */
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4); /* Güçlü Gölge */
    transform: translateY(-3px);
}

.type-btn.active i {
    color: white !important; /* İkonu beyaz yap */
}

/* Chrome, Safari, Edge, Opera için input number oklarını gizle */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox için */
input[type=number] {
  -moz-appearance: textfield;
}

/* Animasyonlar */
@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.animate-pulse-soft {
    animation: pulse-soft 2s infinite;
}

/* 2. Dinamik İçerik Alanı (Ayırt Edici Arkaplan) */
#dynamic-content-area {
    background-color: #f8fafc; /* Hafif gri/mavi ton */
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px dashed #cbd5e1; /* Kesikli kenarlık ile ayrım */
}

/* Alt Seçenek Butonları (Vacip, Adak vb.) */
.sub-type-btn {
    padding: 0.75rem 1rem;
    border-radius: 9999px; /* Tam yuvarlak (Pill) */
    border: 1px solid #e2e8f0;
    background-color: white;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    width: 100%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.sub-type-btn:hover {
    border-color: #94a3b8;
    background-color: #f1f5f9;
}

.sub-type-btn.active {
    background-color: #0f172a; /* Koyu renk (Slate-900) */
    color: white;
    border-color: #0f172a;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* Seçim Kartları (Küçükbaş, Büyükbaş vb.) */
.selection-card {
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.selection-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.selection-card.selected {
    border: 2px solid #2563eb;
    background-color: #eff6ff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    z-index: 1;
}

/* Seçili Kart İşareti (Köşe Üçgeni ve Tik) */
.selection-card.selected::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    border-color: transparent #3b82f6 transparent transparent;
}

.selection-card.selected::after {
    content: '\f00c'; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 5px;
    right: 5px;
    color: white;
    font-size: 0.8rem;
}

/* Proje Fiyat Etiketi */
.project-price-label {
    font-weight: 500;
    color: #64748b;
}
.selection-card.selected .project-price-label {
    color: #1e40af;
    font-weight: 700;
}

/* 3. Tutar Butonları (Para Yeşili Teması) */
.amount-btn {
    padding: 1rem;
    border-radius: 0.75rem;
    border: 2px solid #e2e8f0;
    color: #475569;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    background-color: white;
    cursor: pointer;
    width: 100%;
}

.amount-btn:hover {
    border-color: #86efac; /* Light green border */
    background-color: #f0fdf4;
    color: #059669;
}

.amount-btn.selected {
    border-color: transparent;
    background: #10b981; /* Düz Parlak Yeşil */
    color: white;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4);
    transform: scale(1.1);
}

/* Project Option Buttons - Premium Style */
.project-option-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-option-btn.active {
    border-color: #6366f1; /* Indigo-500 */
    background-color: #eef2ff; /* Indigo-50 */
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.project-option-btn.active i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
