/* =====================
   PREMIUM ASTROLOJİ MODÜLÜ - LÜKS, MODERN, ANİMASYONLU TASARIM
   ===================== */

:root {
    --lux-bg-gradient: linear-gradient(135deg, #1a1333 0%, #2d1e4f 100%);
    --lux-glass-bg: rgba(34, 24, 64, 0.75);
    --lux-gold: #ffd700;
    --lux-gold-gradient: linear-gradient(90deg, #ffd700 0%, #ffb300 100%);
    --lux-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --lux-border: 1.5px solid rgba(255, 215, 0, 0.25);
    --lux-card-radius: 22px;
    --lux-card-padding: 2.5rem 2.5rem 2rem 2.5rem;
    --lux-title-font: 'Playfair Display', serif;
    --lux-body-font: 'Montserrat', sans-serif;
    --lux-blur: blur(12px);
    --lux-glow: 0 0 16px 4px #ffd70099;
    --lux-info-bg: rgba(255, 255, 255, 0.08);
    --lux-info-border: 1.5px solid #ffd70055;
    --lux-tooltip-bg: #2d1e4f;
    --lux-tooltip-color: #ffd700;
    --lux-tooltip-shadow: 0 2px 16px 0 #1a133355;
}

/* ======================================== */
/* YENİ TAB YAPISI VE ÜÇ KİTLE DÜZENİ */
/* ======================================== */

/* Section Header */
.section-header {
    margin: 2em 0 1.5em 0;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 1em;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.section-header p {
    color: #7f8c8d;
    font-size: 1.1em;
    margin: 0;
}

.summary-card, .summary-item, .summary-value {
  color: #222 !important;
}

/* Summary Card */
.summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.summary-card h3 {
    color: white;
    text-align: center;
    margin-bottom: 1.5em;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8em 1em;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.summary-label {
    font-weight: 600;
    font-size: 0.95em;
}

.summary-value {
    font-weight: 700;
    font-size: 1em;
    text-align: right;
}

/* Element Modality Summary */
.element-modality-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
}

.element-section, .modality-section {
    background: #f8f9fa;
    padding: 1.5em;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.element-section h4, .modality-section h4 {
    color: #2c3e50;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 1em;
    text-align: center;
}

/* Advanced Tabs Container */
.advanced-tabs-container {
    margin: 2em 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.tabs-nav::-webkit-scrollbar {
    height: 6px;
}

.tabs-nav::-webkit-scrollbar-track {
    background: transparent;
}

.tabs-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.tab-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    padding: 1em 1.5em;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.tab-btn.active {
    color: white;
    border-bottom-color: #fff;
    background: rgba(255,255,255,0.15);
}

.tab-content {
    display: none;
    padding: 2em;
    background: #fff;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1100px) {
    .element-modality-summary {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .section-header h2 {
        font-size: 1.5em;
    }
    
    .section-header p {
        font-size: 1em;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5em;
    }
    
    .summary-value {
        text-align: left;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: none;
        border-right: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-right-color: #fff;
        border-bottom-color: transparent;
    }
    
    .tab-content {
        padding: 1.5em;
    }
}

/* ======================================== */
/* MEVCUT CSS KODU DEVAM EDİYOR */
/* ======================================== */

body {
  background: #f5f6fa;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2d3a4a;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 1em;
}

.main-layout {
  display: flex;
  gap: 1.5em;
  align-items: flex-start;
}

.left-panel, .right-panel {
  flex: 1 1 0;
  min-width: 0;
}

.data-card, .box, .main-card, .section-card, .analysis-card, .aspect-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px #0001;
  margin-bottom: 1.2em;
  padding: 1.3em 1.5em;
  width: 100%;
  box-sizing: border-box;
  transition: box-shadow 0.2s;
}

.data-card h3, .box h3, .main-card h3, .section-card h3, .analysis-card h3, .aspect-card h3 {
  color: #2d3a4a;
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 1em;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5em;
}

.data-card:hover, .box:hover, .main-card:hover, .section-card:hover, .analysis-card:hover, .aspect-card:hover {
  box-shadow: 0 4px 20px #0002;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 2em;
  padding: 2em 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header h1 {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 0.5em;
}

.header p {
  font-size: 1.2em;
  opacity: 0.9;
  margin: 0;
}

/* Form Section */
.form-section {
  background: #fff;
  border-radius: 16px;
  padding: 2em;
  margin-bottom: 2em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-section h2 {
  color: #2d3a4a;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 1.5em;
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
  margin-bottom: 2em;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #2d3a4a;
  margin-bottom: 0.5em;
  font-size: 1em;
}

.form-group input {
  padding: 0.8em 1em;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.submit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 1em 2em;
  font-size: 1.1em;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Error Message */
.error-message {
  background: #fdf2f2;
  border: 1px solid #e74c3c;
  color: #e74c3c;
  padding: 1em;
  border-radius: 8px;
  margin-bottom: 1em;
  text-align: center;
}

/* Result Section */
.result-section {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Chart Wheel */
.chart-wheel-container {
  background: #fff;
  border-radius: 16px;
  padding: 2em;
  margin-bottom: 2em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.chart-wheel-container h3 {
  color: #2d3a4a;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 1.5em;
}

/* Data Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  font-size: 0.95em;
}

.data-table th {
  background: #f8f9fa;
  color: #2d3a4a;
  font-weight: 700;
  padding: 0.8em;
  text-align: left;
  border-bottom: 2px solid #dee2e6;
}

.data-table td {
  padding: 0.8em;
  border-bottom: 1px solid #e9ecef;
  color: #495057;
}

.data-table tr:hover {
  background: #f8f9fa;
}

/* Element Bars */
.element-bars {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.element-bar {
  display: flex;
  align-items: center;
  gap: 1em;
}

.element-bar span:first-child {
  min-width: 80px;
  font-weight: 600;
  color: #2d3a4a;
}

.element-bar span:last-child {
  min-width: 30px;
  text-align: center;
  font-weight: 700;
  color: #2d3a4a;
}

.bar {
  flex: 1;
  height: 20px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.bar-fire {
  background: linear-gradient(90deg, #ff6b6b, #ee5a24);
}

.bar-earth {
  background: linear-gradient(90deg, #feca57, #ff9ff3);
}

.bar-air {
  background: linear-gradient(90deg, #48dbfb, #0abde3);
}

.bar-water {
  background: linear-gradient(90deg, #54a0ff, #2e86de);
}

/* Responsive Design */
@media (max-width: 1100px) {
  .main-layout {
    flex-direction: column;
    gap: 1em;
  }
  
  .left-panel, .right-panel {
    flex: none;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .header h1 {
    font-size: 2em;
  }
  
  .header p {
    font-size: 1.1em;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 1em 0.5em;
  }
  
  .form-section {
    padding: 1.5em;
  }
  
  .data-card, .box, .main-card, .section-card, .analysis-card, .aspect-card {
    padding: 1em;
    margin-bottom: 1em;
  }
  
  .data-table {
    font-size: 0.9em;
  }
  
  .data-table th, .data-table td {
    padding: 0.6em 0.4em;
  }
  
  .element-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
  }
  
  .element-bar span:first-child {
    min-width: auto;
  }
  
  .bar {
    width: 100%;
  }
  
  .header {
    padding: 1.5em 0;
  }
  
  .header h1 {
    font-size: 1.8em;
  }
  
  .header p {
    font-size: 1em;
  }
  
  .form-section h2 {
    font-size: 1.5em;
  }
  
  .submit-btn {
    padding: 0.8em 1.5em;
    font-size: 1em;
  }
}

/* Data Tables */
.data-table, .aspect-grid, .special-points-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1em;
  background: none;
}
.data-table th, .aspect-grid th {
  background: #f5f6fa;
  color: #2d3a4a;
  font-weight: 700;
  padding: 0.7em 0.5em;
  border-bottom: 2px solid #e0e3ea;
  text-align: left;
}
.data-table td, .aspect-grid td {
  padding: 0.7em 0.5em;
  border-bottom: 1px solid #e0e3ea;
}
.data-table tr:last-child td, .aspect-grid tr:last-child td {
  border-bottom: none;
}

.data-card + .data-card, .box + .box, .main-card + .main-card, .section-card + .section-card, .analysis-card + .analysis-card, .aspect-card + .aspect-card {
  margin-top: 1.2em;
}

.data-card h3 .icon, .box h3 .icon {
  margin-right: 0.5em;
  font-size: 1.1em;
  vertical-align: middle;
}

.element-modality-summary {
  display: flex;
  gap: 1em;
  margin-bottom: 1em;
  flex-wrap: wrap;
}
.element-modality-summary .element {
  background: #ffe082;
  color: #b26a00;
  border-radius: 8px;
  padding: 0.4em 1em;
  font-weight: 600;
}
.element-modality-summary .modality {
  background: #b3e5fc;
  color: #01579b;
  border-radius: 8px;
  padding: 0.4em 1em;
  font-weight: 600;
}

.special-points-table td {
  padding: 0.5em 0.7em;
}

/* Fantastik arka plan animasyonu (mistik yıldızlar) */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    background: url('https://svgshare.com/i/13kA.svg') repeat top center;
    opacity: 0.13;
    animation: luxStarsMove 60s linear infinite;
}
@keyframes luxStarsMove {
    0% { background-position: 0 0; }
    100% { background-position: 100vw 100vh; }
}

/* Fantastik gezegen animasyonları için örnek class */
.lux-planet-anim {
    display: inline-block;
    width: 2.5em;
    height: 2.5em;
    background: radial-gradient(circle at 60% 40%, #ffd700 0%, #ffb300 60%, #2d1e4f 100%);
    border-radius: 50%;
    box-shadow: 0 0 32px 8px #ffd70055, 0 2px 16px 0 #ffd70022;
    animation: luxPlanetMove 7s ease-in-out infinite alternate;
    position: relative;
    margin-right: 0.7em;
}
@keyframes luxPlanetMove {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-12px) scale(1.08); }
}

/* Bilgi kutuları için fade-in animasyon */
.lux-info-fade {
    animation: luxInfoFadeIn 1.5s cubic-bezier(.4,0,.2,1);
}
@keyframes luxInfoFadeIn {
    0% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 1; transform: none; }
}

/* Tablo satırı seçimi için animasyon */
.natal-table tr.selected td {
    background: #ffd70033 !important;
    color: #1a1333 !important;
    font-weight: 700;
    transition: background 0.3s, color 0.3s;
}

/* Kayan altın çizgi animasyonu */
.lux-gold-divider {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ffd700 0%, #ffb300 100%);
    border-radius: 2px;
    margin: 2.2em 0 1.2em 0;
    animation: luxGoldSlide 2.5s infinite alternate;
}
@keyframes luxGoldSlide {
    0% { background-position: 0 0; }
    100% { background-position: 100vw 0; }
}

/* LÜKS, MİSTİK, RESPONSIVE NAVBAR */
.lux-navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10000;
    background: linear-gradient(90deg, #1a1333cc 0%, #2d1e4fcc 100%);
    box-shadow: 0 4px 32px 0 #1a133355, 0 1.5px 0 0 #ffd70055;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid #ffd70033;
    padding: 0;
    margin-bottom: 2.5rem;
    animation: luxFadeIn 1.2s cubic-bezier(.4,0,.2,1);
}
.lux-navbar-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2em 2vw 0.2em 2vw;
    position: relative;
}
.lux-nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--lux-gold);
    text-decoration: none;
    letter-spacing: 0.04em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5em;
    text-shadow: 0 2px 16px #ffd70033, 0 0 2px #fffbe6;
    transition: color 0.2s;
}
.lux-nav-logo:hover {
    color: #fffbe6;
}
.lux-nav-menu {
    display: flex;
    align-items: center;
    gap: 1.7em;
    list-style: none;
    margin: 0;
    padding: 0;
}
.lux-nav-link {
    font-family: var(--lux-title-font);
    font-size: 1.13rem;
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6em 1.2em;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    box-shadow: 0 2px 8px 0 #ffd70022;
    border: 1.2px solid #ffd70033;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    position: relative;
}
.lux-nav-link:hover, .lux-nav-link:focus {
    background: #ffd70033;
    color: #1a1333;
    box-shadow: 0 0 16px 4px #ffd70099;
}
.lux-nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5em;
    height: 2.5em;
    cursor: pointer;
    z-index: 10001;
    margin-left: 1em;
}
.lux-nav-hamburger span {
    display: block;
    width: 2em;
    height: 0.28em;
    margin: 0.28em 0;
    background: var(--lux-gold);
    border-radius: 2px;
    transition: all 0.3s;
}
.lux-nav-toggle {
    display: none;
}
@media (max-width: 900px) {
    .lux-nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70vw;
        max-width: 340px;
        background: linear-gradient(135deg, #1a1333ee 0%, #2d1e4fee 100%);
        box-shadow: -4px 0 32px 0 #1a133355;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 4.5em 1.5em 2em 1.5em;
        margin: 0;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(.4,0,.2,1);
        z-index: 10000;
    }
    .lux-nav-toggle:checked ~ .lux-nav-hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .lux-nav-toggle:checked ~ .lux-nav-hamburger span:nth-child(2) {
        opacity: 0;
    }
    .lux-nav-toggle:checked ~ .lux-nav-hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    .lux-nav-toggle:checked ~ .lux-nav-menu {
        transform: translateX(0);
    }
    .lux-nav-hamburger {
        display: flex;
    }
    .lux-nav-menu li {
        width: 100%;
        margin-bottom: 1.2em;
    }
    .lux-nav-link {
        width: 100%;
        display: block;
        font-size: 1.15rem;
        padding: 1em 1.2em;
        border-radius: 10px;
    }
}
@media (max-width: 600px) {
    .lux-navbar-inner {
        padding: 0.2em 0.5em 0.2em 0.5em;
    }
    .lux-nav-logo {
        font-size: 1.3rem;
    }
}

/* --- Son: Her şey modüler, lüks ve modern! --- */ 

.natal-yod-list { margin: 0.5em 0 0 1.5em; padding: 0; }
.natal-yod-list li { color: #ffd700; font-weight: 500; margin-bottom: 0.2em; font-family: 'Montserrat', serif; }
.yod-apex { color: #ffb300; font-weight: bold; }
.yod-base { color: #b2a1ff; } 

/* SVG harita için responsive görünüm */
.natal-chart-svg svg {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
} 

/* Responsive ve taşmayı önleyici ayarlar */

html, body, *, *:before, *:after {
    box-sizing: border-box !important;
} 

/* Premium fade-in animasyonu */
.fade-in {
  animation: fadeIn 0.5s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Sekmeli bloklar için modern görünüm */
.astro-block {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 32px 24px 24px 24px;
  margin-bottom: 48px;
}
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.tab-btn {
  background: #f3f4f8;
  border: none;
  border-radius: 8px 8px 0 0;
  padding: 10px 22px;
  font-size: 1.08em;
  color: #444;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
  outline: none;
}
.tab-btn.active {
  background: #6a4bc6;
  color: #fff;
  box-shadow: 0 2px 8px rgba(106,75,198,0.08);
  font-weight: 600;
}
.tab-content {
  display: none;
  padding: 18px 0 0 0;
}
.tab-content.active, .tab-content.fade-in {
  display: block;
}

/* Responsive ve zarif başlıklar */
.astro-block h2 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #4b3576;
  letter-spacing: 0.01em;
}

@media (max-width: 700px) {
  .astro-block {
    padding: 18px 6px 12px 6px;
  }
  .tabs {
    flex-wrap: wrap;
    gap: 4px;
  }
  .tab-btn {
    font-size: 0.98em;
    padding: 8px 10px;
  }
} 

.evde-info {
    font-size: 0.90em;
    color: #888;
    font-style: italic;
    margin-left: 4px;
    white-space: nowrap;
    vertical-align: baseline;
    display: inline;
    padding: 0;
    line-height: 1;
} 

/* =====================
   TEMEL BİLGİLER KARTI - PREMIUM DÜZEN
   ===================== */
.summary-card.temel-bilgiler {
  background: linear-gradient(120deg, #f8fafc 0%, #e9e4f0 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  border: 1.5px solid #e0d7f3;
  font-family: 'Montserrat', 'Playfair Display', serif;
  margin-bottom: 2.5em;
  transition: box-shadow 0.25s, border 0.25s;
}
.summary-card.temel-bilgiler:hover {
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.18);
  border: 1.5px solid #cbb6f7;
}
.summary-card.temel-bilgiler h3 {
  color: #4b3576;
  font-family: 'Playfair Display', serif;
  font-size: 1.45em;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 2.2em;
  text-align: center;
  background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.summary-card.temel-bilgiler .summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(38px, auto);
    gap: 1.2em 2em;
    margin-top: 1em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 900px) {
    .summary-card.temel-bilgiler .summary-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .summary-card.temel-bilgiler .summary-grid {
        grid-template-columns: 1fr;
    }
    .summary-card.temel-bilgiler .summary-label {
        min-width: 90px;
    }
}
.summary-card.temel-bilgiler .summary-item {
  display: flex;
  align-items: baseline;
  font-size: 1.08em;
  font-weight: 500;
  margin-bottom: 0.2em;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.summary-card.temel-bilgiler .summary-item:hover {
  box-shadow: 0 4px 16px 0 #cbb6f755;
}
.summary-card.temel-bilgiler .summary-label {
  font-size: 1.04em;
  font-weight: 600;
  color: #6a4bc6;
  margin-bottom: 0.2em;
  letter-spacing: 0.01em;
}
.summary-card.temel-bilgiler .summary-value {
  font-size: 1.13em;
  font-weight: 700;
  color: #2d1e4f;
  letter-spacing: 0.01em;
  text-align: left;
  word-break: break-word;
}
.summary-card.temel-bilgiler .evde-info {
    font-size: 0.92em;
    color: #a18cd1;
    font-style: italic;
    margin-left: 4px;
    white-space: nowrap;
    vertical-align: baseline;
    display: inline;
    padding: 0;
    line-height: 1;
}
/* Temel Bilgiler kartı için ekstra responsive ve spacing */
@media (max-width: 500px) {
  .summary-card.temel-bilgiler {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  .summary-card.temel-bilgiler .summary-item {
    padding: 0.7em 0.7em 0.6em 0.7em;
  }
} 

/* Temel Bilgiler kartı için sade, 3 sütunlu ve responsive grid düzeni */
.summary-card.temel-bilgiler {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0001;
    border: 1px solid #e0e6ef;
    padding: 2.2em 2em 1.5em 2em;
    margin-bottom: 2em;
}
.summary-card.temel-bilgiler h3 {
    color: #1a237e;
    font-size: 1.25em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5em;
    letter-spacing: 0.01em;
    background: none;
    -webkit-text-fill-color: initial;
}
.summary-card.temel-bilgiler .summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2em 2em;
    margin: 0 auto;
    max-width: 900px;
}
.summary-card.temel-bilgiler .summary-item {
    display: flex;
    align-items: baseline;
    font-size: 1.08em;
    font-weight: 500;
    margin-bottom: 0.2em;
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}
.summary-card.temel-bilgiler .summary-label {
    min-width: 110px;
    color: #222;
    font-weight: 600;
    margin-right: 0.5em;
    font-size: 1.04em;
}
.summary-card.temel-bilgiler .summary-value {
    color: #222;
    font-weight: 400;
    letter-spacing: 0.5px;
    display: flex;
    align-items: baseline;
    font-size: 1.08em;
}
.summary-card.temel-bilgiler .evde-info {
    font-size: 0.92em;
    color: #888;
    font-style: italic;
    margin-left: 4px;
    white-space: nowrap;
    vertical-align: baseline;
    display: inline;
    padding: 0;
    line-height: 1;
}
@media (max-width: 900px) {
    .summary-card.temel-bilgiler .summary-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .summary-card.temel-bilgiler .summary-grid {
        grid-template-columns: 1fr;
    }
    .summary-card.temel-bilgiler .summary-label {
        min-width: 90px;
    }
} 

/* Temel Bilgiler kartı için etiket ve değer hizalaması düzeltildi */
.summary-card.temel-bilgiler .summary-item {
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-size: 1.07em;
    font-weight: 500;
    margin-bottom: 0.2em;
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}
.summary-card.temel-bilgiler .summary-label {
    min-width: 80px;
    color: #222;
    font-weight: 600;
    margin-right: 0.3em;
    font-size: 1.03em;
    white-space: nowrap;
    text-align: left;
}
.summary-card.temel-bilgiler .summary-value {
    color: #222;
    font-weight: 400;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    font-size: 1.07em;
    white-space: nowrap;
} 

/* Asaletler Tablosu (Gezegenlerin Güç Analizi) */
.asaletler-blok {
  margin: 32px 0 24px 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(30, 30, 60, 0.08);
  padding: 32px 24px 24px 24px;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
.asaletler-baslik {
  font-size: 1.35rem;
  font-weight: 600;
  color: #2a2a3a;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.asaletler-tablosu {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #f9f9fb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px 0 rgba(30, 30, 60, 0.04);
}
.asaletler-tablosu th, .asaletler-tablosu td {
  padding: 10px 14px;
  text-align: center;
  font-size: 1.05rem;
}
.asaletler-tablosu th {
  background: #ececf6;
  color: #3a3a4a;
  font-weight: 700;
  border-bottom: 2px solid #d1d1e0;
}
.asaletler-tablosu tbody tr {
  transition: background 0.2s;
}
.asaletler-tablosu tbody tr:hover {
  background: #f1f5fa;
}
.asaletler-tablosu td {
  color: #2a2a3a;
  border-bottom: 1px solid #e5e5ef;
}
.puan-pozitif {
  color: #1a5e3a;
  font-weight: 600;
  background: #eafbe7;
  border-radius: 4px;
}
.puan-negatif {
  color: #b91c1c;
  font-weight: 600;
  background: #fde8e8;
  border-radius: 4px;
}
.puan-non {
  color: #888;
  background: #f3f3f3;
  border-radius: 4px;
}
.asalet-toplam.puan-pozitif {
  background: #d1f7d6;
  color: #176c2b;
}
.asalet-toplam.puan-negatif {
  background: #f9d6d6;
  color: #b91c1c;
}
.asalet-toplam.puan-non {
  background: #ececec;
  color: #888;
}
.gezegen-glif {
  font-size: 1.25em;
  margin-right: 4px;
  vertical-align: middle;
  font-family: 'Segoe UI Symbol', 'Arial Unicode MS', Arial, sans-serif;
}
/* Tooltip */
.tooltip {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted #888;
}
.tooltip[data-tooltip]:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 120%;
  background: #222;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.95em;
  white-space: nowrap;
  z-index: 10;
  opacity: 1;
  pointer-events: none;
}
.tooltip[data-tooltip]:hover:before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 110%;
  border: 6px solid transparent;
  border-top: 6px solid #222;
  z-index: 11;
}
.asaletler-aciklama {
  margin-top: 18px;
  font-size: 0.98rem;
  color: #5a5a6a;
  background: #f6f6fa;
  border-left: 4px solid #b6c7e6;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 1px 4px 0 rgba(30, 30, 60, 0.03);
} 

.custom-tooltip-box {
  position: absolute;
  background: #222;
  color: #fff;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 0.98em;
  white-space: nowrap;
  z-index: 9999;
  box-shadow: 0 4px 16px 0 rgba(30,30,60,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
.custom-tooltip-box.active {
  opacity: 1;
  pointer-events: auto;
} 

/* PROFESYONEL PROFEKSİYON TOOLTIP */
.tooltip-container {
  display: inline-block;
  position: relative;
}
.tooltip-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: #f0f4ff;
  color: #2d3a4a;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
  margin-left: 6px;
  border: 1px solid #b3c6e0;
  transition: background 0.2s;
}
.tooltip-icon:hover {
  background: #e0eaff;
}
.tooltip-box {
  display: none;
  position: absolute;
  top: 28px;
  left: 0;
  z-index: 9999;
  min-width: 320px;
  max-width: 400px;
  background: #fff;
  color: #222;
  border: 1px solid #b3c6e0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.10);
  padding: 16px 18px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.5;
  pointer-events: auto;
}
.tooltip-box.active {
  display: block;
  animation: fadeIn 0.18s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.firdaria-table .active-firdaria-row { background: #eafbe7 !important; font-weight: bold; border-left: 4px solid #2ecc71; }
.firdaria-table .active-firdaria-subrow { background: #f7fbe7 !important; font-weight: bold; color: #2ecc71; }
.firdaria-table .subperiod-row { display: none; background: #f8f8fa; }
.firdaria-table .expand-btn { cursor: pointer; font-weight: bold; color: #6c63ff; margin-right: 8px; }
.firdaria-table .expand-btn.open { color: #2ecc71; }
.firdaria-analysis-box {
  background: #f8f8fa;
  border-left: 5px solid #6c63ff;
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(44,44,77,0.04);
  font-size: 1.08em;
  color: #2d1e4f;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
.firdaria-analysis-box strong { color: #6c63ff; }
