/* ============================================================
   HESAP SAYFALARI - ORTAK CSS
   ============================================================ */

.hesap-page {
    padding: 120px 0 80px;
    background: #f8f4ef;
    min-height: 100vh;
}

.hesap-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* SIDEBAR */
.hesap-sidebar {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    height: fit-content;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    position: sticky;
    top: 100px;
}

.sidebar-kullanici {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0ece4;
}

.kullanici-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a94e, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 25px rgba(201,169,78,0.3);
}

.sidebar-kullanici h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.sidebar-kullanici p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 12px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-menu a:hover {
    background: #faf6ef;
    color: #c9a94e;
}

.sidebar-menu a.active {
    background: linear-gradient(135deg, #c9a94e, #d4af37);
    color: #fff;
    box-shadow: 0 5px 15px rgba(201,169,78,0.3);
}

.sidebar-menu a i {
    font-size: 18px;
}

.sidebar-menu a.cikis-link {
    color: #e74c3c;
}

.sidebar-menu a.cikis-link:hover {
    background: #fde8e8;
}

/* ANA İÇERİK */
.hesap-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* İSTATİSTİKLER */
.istatistikler {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.istatistik-kart {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.istatistik-ikon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.istatistik-bilgi {
    display: flex;
    flex-direction: column;
}

.istatistik-sayi {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
}

.istatistik-label {
    font-size: 13px;
    color: #888;
}

/* BÖLÜMLER */
.bolum {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.bolum-baslik {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0ece4;
}

.bolum-baslik h2 {
    font-size: 18px;
    color: #1a1a1a;
    margin: 0;
}

.bolum-baslik h2 i {
    color: #c9a94e;
    margin-right: 8px;
}

.tumunu-gor {
    font-size: 13px;
    color: #c9a94e;
    text-decoration: none;
    font-weight: 600;
}

.tumunu-gor:hover {
    text-decoration: underline;
}

/* SİPARİŞ KARTLARI */
.siparis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.siparis-kart {
    border: 1px solid #e8e4df;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s;
}

.siparis-kart:hover {
    border-color: #c9a94e;
    box-shadow: 0 5px 15px rgba(201,169,78,0.1);
}

.siparis-ust {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.siparis-no {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}

.siparis-tarih {
    font-size: 12px;
    color: #888;
}

.siparis-hizmet strong {
    font-size: 15px;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.siparis-alt {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.siparis-tutar {
    font-size: 16px;
    font-weight: 700;
    color: #c9a94e;
}

.btn-detay {
    font-size: 13px;
    color: #c9a94e;
    font-weight: 600;
    text-decoration: none;
}

.btn-detay:hover {
    text-decoration: underline;
}

/* TAROT KARTLARI */
.tarot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tarot-kart-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tarot-kart {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #faf6ef;
    border-radius: 12px;
    border: 1px solid #f0ece4;
    transition: all 0.3s;
}

.tarot-kart-link:hover .tarot-kart {
    border-color: #c9a94e;
    box-shadow: 0 5px 15px rgba(201,169,78,0.1);
}

.tarot-ikon {
    font-size: 28px;
}

.tarot-bilgi {
    flex: 1;
}

.tarot-bilgi strong {
    display: block;
    font-size: 13px;
    color: #333;
    margin-bottom: 3px;
}

.tarot-bilgi p {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.tarot-tip {
    font-size: 11px;
    background: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    color: #c9a94e;
    font-weight: 600;
}

/* TAROT OKUMA LİSTESİ */
.tarot-okuma-listesi {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tarot-okuma-link {
    text-decoration: none;
    color: inherit;
}

.tarot-okuma-kart {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #faf6ef;
    border-radius: 16px;
    border: 1px solid #f0ece4;
    transition: all 0.3s;
}

.tarot-okuma-link:hover .tarot-okuma-kart {
    border-color: #c9a94e;
    box-shadow: 0 10px 30px rgba(201,169,78,0.1);
}

.okuma-ikon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.okuma-icerik {
    flex: 1;
}

.okuma-ust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.okuma-tarih {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.okuma-tip {
    font-size: 11px;
    background: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    color: #c9a94e;
    font-weight: 700;
}

.okuma-kartlar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.kart-etiket {
    display: inline-block;
    background: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
    font-weight: 500;
}

.okuma-yorum {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    border-left: 3px solid #c9a94e;
}

.okuma-yorum p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.okuma-aksiyon {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c9a94e;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

/* BOŞ DURUM */
.bos-durum {
    text-align: center;
    padding: 40px;
}

.bos-durum i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

.bos-durum p {
    color: #888;
    margin-bottom: 15px;
}

/* FORM */
.profil-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #4a4a4a;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e4df;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fafaf8;
}

.form-group input:focus {
    outline: none;
    border-color: #c9a94e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201,169,78,0.1);
}

.form-group input:disabled {
    background: #f0ece4;
    color: #888;
    cursor: not-allowed;
}

.form-group small {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* ALERT */
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #e8f5e9;
    color: #2ecc71;
    border: 1px solid #c8e6c9;
}

.alert-error {
    background: #fde8e8;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 20px;
}

/* BUTON */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #c9a94e, #d4af37);
    color: #fff;
    box-shadow: 0 8px 25px rgba(201,169,78,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(201,169,78,0.4);
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* DURUM BADGE */
.durum-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.durum-badge.success {
    background: #e8f5e9;
    color: #2ecc71;
}

.durum-badge.warning {
    background: #fef3e2;
    color: #f39c12;
}

.durum-badge.danger {
    background: #fde8e8;
    color: #e74c3c;
}

.durum-badge.info {
    background: #e3f2fd;
    color: #3498db;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hesap-layout {
        grid-template-columns: 1fr;
    }
    
    .hesap-sidebar {
        position: static;
    }
    
    .siparis-grid,
    .tarot-grid {
        grid-template-columns: 1fr;
    }
    
    .istatistikler {
        grid-template-columns: repeat(2, 1fr);
    }
}