/* İlk CSS */



#ascendant-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f2f2f2;
    padding: 30px 30px 15px 30px;
    border-radius: 10px;
    margin-bottom: 0px;
    box-shadow: 0 8px 20px rgba(var(--global-palette1-rgb, 124, 58, 237), 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#ascendant-form:hover {
    box-shadow: 0 12px 25px rgba(var(--global-palette1-rgb, 124, 58, 237), 0.15);
}

.outsideturkey {
    margin: 0px !important;
    padding: 0px !important;
}

#timezone-display {
    font-size: 12px;
    color: #555;
    margin-top: -5px;
}

#timezone-display-a,
#timezone-display-b {
    font-size: 12px;
    color: #555;
    margin-top: -5px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 10px;
    align-items: center;
    position: relative;
    overflow: visible;
}

/* Autocomplete menüsünün görünmesi için - detayliharita.php'deki CSS'te tanımlı */
.form-row label {
    flex: 1 1 100%;
    font-weight: bold;
    transition: color 0.3s ease;
}

.form-row:focus-within label {
    color: var(--global-palette-btn-bg, #7c3aed);
}

.form-row select,
.form-row input,
.form-row button {
    flex: 1 1 auto;
    padding: 10px !important;
    margin: 5px 0;
    border-radius: 5px !important;
    font-size: 15px;
    border: 1px solid #ccc !important;
    transition: all 0.3s ease;
}

.form-row select:focus,
.form-row input:focus {
    outline: none;
    border-color: var(--global-palette-btn-bg, #7c3aed) !important;
    box-shadow: 0 0 0 3px rgba(var(--global-palette1-rgb, 124, 58, 237), 0.15);
}

#manual-city {
    background-image: linear-gradient(to right, rgba(var(--global-palette1-rgb, 124, 58, 237), 0.05), transparent);
    background-size: 0% 100%;
    background-repeat: no-repeat;
}

#manual-city:focus {
    background-size: 100% 100%;
}

#ascendant-form button {
    color: white;
    background-color: var(--global-palette-btn-bg, #7c3aed);
    border: none;
    cursor: pointer;
    padding: 12px 24px !important;
    font-weight: 600;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#ascendant-form button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

#ascendant-form button:hover {
    box-shadow: 0 5px 15px rgba(var(--global-palette1-rgb, 124, 58, 237), 0.3);
}

#ascendant-form button:hover:before {
    left: 100%;
}

#form-error {
    color: #FF0000;
    /* Parlak kırmızı */
    font-size: 0.85rem;
    font-weight: 600;
}

/* Yükleniyor animasyonu */
.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(var(--global-palette1-rgb, 124, 58, 237), 0.2);
    border-radius: 50%;
    border-top-color: var(--global-palette-btn-bg, #7c3aed);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* İkinci CSS */
.astro-heading {
    color: #222;
    font-weight: 600;
    border-bottom: 2px solid var(--global-palette-btn-bg, #7c3aed);
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
}

.astro-subheading {
    color: #333;
    font-size: 1.26rem;
    font-weight: 500;
}

.astro-micro-heading {
    color: #444;
    font-size: 1.22rem;
    font-weight: 500;
}

/* Tablo stilini güncelleyin */
.astro-table {
    overflow-x: auto;
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    overflow: hidden;
    font-size: 1rem;
}

.astro-table th {
    background-color: var(--global-palette-btn-bg, #7c3aed);
    color: white;
    text-align: left;
    padding: 12px 15px;
    font-weight: 500;
}

.astro-table tr:nth-child(even) {
    background-color: #f8f5ff;
}

.astro-table tr:hover {
    background-color: #f0ebff;
}

.astro-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
}

.astro-table td:first-child {
    font-weight: 500;
    color: var(--global-palette1, #4a2a8a);
}

/* Transit table wrapper for spacing */
.transit-table-wrapper {
    margin-top: 30px;
}

/* Aspect symbol styling */
.aspect-symbol {
    font-size: 1.5em;
    display: inline-block;
    margin-right: 5px;
}

.planet-list,
.house-list {
    list-style-type: none;
    padding-left: 5px;
    margin-top: 15px;
}

.highlight-text {
    color: var(--global-palette-btn-bg, #7c3aed);
    font-weight: 600;
}

.interpretation-section {
    background-color: #f8f5ff;
    padding: 25px;
    border-radius: 12px;
    margin-top: 40px;
    font-size: 1rem;
    border-left: 4px solid var(--global-palette-btn-bg, #7c3aed);
}

.sign-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--global-palette-btn-bg, #7c3aed);
    color: white;
    border-radius: 20px;
    margin-bottom: 2px;
}

/* Responsive design improvements */




/* astro-responsive.css */
/* Responsive styles for astrology chart components */

.chart-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.chart-column {
    flex: 1;
    min-width: 300px;
}

.planet-icon {
    display: inline-block;
    width: 45px;
    text-align: center;
    font-weight: 500;
    font-size: 1.5rem;
}

.planet-name {
    font-weight: 500;
}

.planet-degree {
    font-size: 0.85rem;
}

.sign-name {
    font-weight: 500;
}

.house-number {
    color: var(--global-palette1, #8A2BE2);
    font-size: 0.9rem;
    font-weight: 500;
}

.chart-item {
    margin: 2px 0;
}

.house-number-label {
    display: inline-block;
    color: var(--global-palette1, #8A2BE2);
    text-align: center;
    padding-right: 5px;
    font-weight: 500;
}

.house-degree {
    font-size: 0.85rem;
}


.solar-return-icon-container {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.solar-return-icon {
    position: relative;
    width: 130px;
    height: 130px;
}

.sun-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 40px #FF8C00;
    animation: glow 3s infinite alternate;
}


.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border: 2px dashed rgba(255, 140, 0, 0.4);
    border-radius: 50%;
    animation: orbit-rotate 30s linear infinite;
}

.planet {
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #1E90FF;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.6);
    animation: planet-glow 2s infinite alternate;
}

.year-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    animation: year-pulse 2s infinite alternate;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbit-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px #FF8C00;
    }

    to {
        box-shadow: 0 0 40px #FF8C00, 0 0 60px rgba(255, 69, 0, 0.5);
    }
}

@keyframes planet-glow {
    from {
        box-shadow: 0 0 5px rgba(30, 144, 255, 0.6);
    }

    to {
        box-shadow: 0 0 15px rgba(30, 144, 255, 0.8);
    }
}

@keyframes year-pulse {
    from {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}




.chart-summary-container {
    display: flex;
    gap: 25px;
    margin-top: 15px;
}

.clean-panel {
    margin-top: 30px !important;
}

.chart-panel {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #fff;
    border: 1px solid rgba(200, 200, 220, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chart-panel:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.panel-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--global-palette1, #5e3096) 0%, var(--global-palette2, #9d4f9c) 100%);
    position: relative;
}

.panel-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
}

.panel-header-text {
    margin: 0;
    color: #fff !important;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.panel-body {
    padding: 10px 20px;
    background-color: #ffffff;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.data-row:last-child {
    border-bottom: none;
}

.data-label {
    flex: 0 0 35%;
    font-weight: 600;
    color: var(--global-palette1, #7f6697);
    font-size: 15px;
}

.data-value {
    flex: 0 0 65%;
    text-align: right;
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.sign-value {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-weight: 600;
    color: var(--global-palette1, #5e3096);
}

.sign-value span:first-child {
    font-size: 18px;
    margin-right: 5px;
}

.astro-panel {
    background: linear-gradient(to bottom, #ffffff, #f3f0ff);
}

@media (max-width: 768px) {

    .planet-icon {
        width: 30px;
        font-size: 1.3rem;
    }

    .planet-degree,
    .house-degree {
        font-size: 0.8rem;
    }

    .house-number {
        font-size: 0.85rem;
    }

    .house-number-label {
        width: auto;
        font-size: 1rem;
    }

    .planet-name {
        font-size: 0.95rem;
    }

    .sign-name {
        font-size: 0.95rem;
    }

    .chart-column {
        min-width: 100%;
    }

    #birth-chart-canvas {
        max-width: 100%;
        height: auto;
    }

    .chart-item {
        margin: -0.5px 0;
    }

    .astro-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 0.85rem;
    }

    .astro-heading {
        font-size: 1.3rem;
        text-align: center;
        padding-bottom: 3px;
    }

    .clean-panel {
        margin-top: 25px;
    }

    .astro-table th,
    .astro-table td {
        padding: 10px;
    }

    .interpretation-section {
        padding: 15px 20px;
        margin-top: 15px;
        font-size: 0.92rem;
    }


    .chart-summary-container {
        flex-direction: column;
        margin-top: 0px;
        margin-bottom: 15px;
    }

    /* Mobil düzende satır yapısını koruma */
    .data-row {
        padding: 12px 0;
    }

    /* Etiket genişliğini mobil ekranlarda artır */
    .data-label {
        flex: 0 0 40%;
    }

    /* Değer genişliğini mobil ekranlarda ayarla */
    .data-value {
        flex: 0 0 60%;
    }

    /* Burç değeri için düzenleme */
    .sign-value {
        /* Mobil için özel stil gerekmez */
    }

    /* Burç ikonlarının boyutunu orantılı tut */
    .sign-value span:first-child {
        font-size: 16px;
    }

    .chart-panel {
        flex: 1 0 100%;
        /* Her panel tam genişlikte olsun */
        border-radius: 0;
        /* Köşe yuvarlaklığını kaldır */
        box-shadow: none;
        /* Gölgeyi tamamen kaldır */
        border: none;
        /* Kenarlıkları kaldır */
        background: transparent;
        /* Arkaplanı şeffaf yap */
        transform: none;
        /* Transform efektini kaldır */
        transition: none;
        /* Geçiş efektini kaldır */
        margin-bottom: auto;
        /* Sadece alt boşluk bırak */
    }

    .chart-panel:hover {
        transform: none;
        /* Hover durumunda yukarı çıkma efektini kaldır */
        box-shadow: none;
        /* Hover durumunda da gölge olmasın */
    }

    /* Panel içindeki başlık ve içerik kısımları varsa */
    .panel-header,
    .panel-body {
        background: transparent;
        /* İçerik kısımlarının arkaplanını da şeffaf yap */
        border: none;
        /* İç kısımların da kenarlıklarını kaldır */
        padding: 5px 0;
        /* Sadece minimal dikey boşluk bırak */
    }

    .panel-header-text {
        color: #000 !important;
        font-size: 17px;
    }
}


.clean-interpretation {
    padding: 20px;
    background-color: #f9f7ff;
    border-radius: 10px;
    border-left: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.clean-info-block {
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.interpretation-cards {
    margin-top: 20px;
}

.clean-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    height: 100%;
    border-top: 3px solid var(--global-palette-btn-bg, #7c3aed);
}

.clean-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--global-palette-btn-bg, #7c3aed);
}




.burcistan-css-tabs {
    margin: 2rem 0;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.related-tools-heading {
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    padding: 1.5rem 1.5rem 0 1.5rem;
    color: #333;
    text-align: center;
}

/* Hide radio buttons */
.tab-radio {
    display: none;
}

/* Tab labels styling */
.tab-labels {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-labels::-webkit-scrollbar {
    display: none;
}

.tab-label {
    flex: 1;
    min-width: 120px;
    padding: 1rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-bottom: 3px solid transparent;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    background: transparent;
    border: none;
    text-align: center;
    min-height: 80px;
    /* Fixed minimum height for consistency */
    position: relative;
}

.tab-label:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #374151;
}

.tab-icon {
    font-size: 1.25rem;
    display: block;
}

.tab-title {
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
    hyphens: auto;
}

/* Active tab styling - specific for each category */
input[id*="tab-main"]:checked~.tab-labels label[for*="tab-main"] {
    background: rgba(0, 0, 0, 0.02);
    color: #9c2e00;
    border-bottom-color: #9c2e00;
}

input[id*="tab-planets"]:checked~.tab-labels label[for*="tab-planets"] {
    background: rgba(0, 0, 0, 0.02);
    color: #e0790d;
    border-bottom-color: #e0790d;
}

input[id*="tab-houses"]:checked~.tab-labels label[for*="tab-houses"] {
    background: rgba(0, 0, 0, 0.02);
    color: var(--global-palette1, #9C27B0);
    border-bottom-color: var(--global-palette1, #9C27B0);
}

input[id*="tab-asteroids"]:checked~.tab-labels label[for*="tab-asteroids"] {
    background: rgba(0, 0, 0, 0.02);
    color: #717171;
    border-bottom-color: #717171;
}

input[id*="tab-special"]:checked~.tab-labels label[for*="tab-special"] {
    background: rgba(0, 0, 0, 0.02);
    color: #2196F3;
    border-bottom-color: #2196F3;
}

input[id*="tab-other"]:checked~.tab-labels label[for*="tab-other"] {
    background: rgba(0, 0, 0, 0.02);
    color: #DD9C04;
    border-bottom-color: #DD9C04;
}

/* Tab content */
.tab-content {
    position: relative;
    min-height: 200px;
}

.tab-panel {
    display: none;
    padding: 1.5rem;
}

/* Show active panel - each radio controls its corresponding panel */
input[id*="tab-main"]:checked~.tab-content .tab-panel[data-category="main"],
input[id*="tab-planets"]:checked~.tab-content .tab-panel[data-category="planets"],
input[id*="tab-houses"]:checked~.tab-content .tab-panel[data-category="houses"],
input[id*="tab-asteroids"]:checked~.tab-content .tab-panel[data-category="asteroids"],
input[id*="tab-special"]:checked~.tab-content .tab-panel[data-category="special"],
input[id*="tab-other"]:checked~.tab-content .tab-panel[data-category="other"] {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}


.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns on desktop */
    gap: 1rem;
}

.tool-item {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    /* Make all items same height */
}

.tool-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.tool-item:focus {
    outline: 2px solid var(--tool-color, #9c2e00);
    outline-offset: 2px;
}

.tool-inner {
    background: var(--tool-color, #9c2e00);
    color: white;
    padding: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    /* Fixed minimum height for all tools */
}

.tool-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tool-item:hover .tool-inner::before {
    left: 100%;
}

.tool-title {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.no-tools {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 2rem;
    margin: 0;
}


/* Focus management for accessibility */
.tab-label:focus {
    outline: 2px solid var(--category-color, #9c2e00);
    outline-offset: -2px;
    z-index: 1;
}

/* Better support for keyboard navigation */
.tab-label:focus-visible {
    outline: 2px solid var(--category-color, #9c2e00);
    outline-offset: -2px;
}

/* Mobil Düzen */
@media (max-width: 768px) {

    .tab-labels {
        /* Keep flex layout for tabs */
        display: flex;
    }

    .tab-label {
        min-width: 100px;
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
        min-height: 70px;
    }

    .tab-icon {
        font-size: 1rem;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on mobile */
        gap: 0.75rem;
    }

    .tool-inner {
        min-height: 70px;
        /* Smaller on mobile but consistent */
    }

    .tab-panel {
        padding: 1rem;
    }

    .related-tools-heading {
        font-size: 1.25rem;
        padding: 1rem 1rem 0 1rem;
    }

    .clean-interpretation {
        padding: 10px;
        box-shadow: none;
    }

    .clean-card {
        padding: 10px;
        box-shadow: none;
    }

    .clean-info-block {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .chart-container {
        gap: 0px;
    }

}





.element-mod-simple-container {
    margin: 30px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.element-simple-section,
.modality-simple-section {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.element-simple-title,
.modality-simple-title {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.element-simple-table,
.modality-simple-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.element-simple-row,
.modality-simple-row {
    display: grid;
    grid-template-columns: 1fr 80px 60px;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background: #fafafa;
    border-radius: 6px;
    border-left: 4px solid #ddd;
    transition: all 0.2s ease;
}

.element-simple-row:hover,
.modality-simple-row:hover {
    background: #f0f0f0;
    border-left-color: #666;
}

.element-simple-name,
.modality-simple-name {
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.element-simple-count,
.modality-simple-count {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-align: center;
}

.element-simple-status,
.modality-simple-status {
    text-align: center;
}

.element-simple-planets,
.modality-simple-planets {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    line-height: 1.4;
}

/* Status Badge Stilleri */
.status-strong {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-weak {
    background: #ffc107;
    color: #333;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-missing {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-normal {
    background: #6c757d;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Yorum Bölümü */
.element-mod-interpretation {
    margin: 20px auto;
    background: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.interpretation-title {
    color: white;
    background: linear-gradient(135deg, var(--global-palette1, #667eea) 0%, var(--global-palette2, #764ba2) 100%);
    margin: 0;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.interpretation-content {
    padding: 20px;
    line-height: 1.6;
}

.interpretation-content p {
    margin: 0 0 15px 0;
    color: #444;
}

.interpretation-content p:last-child {
    margin-bottom: 0;
}

.interpretation-content strong {
    color: #333;
}

/* Mobil Düzen */
@media (max-width: 768px) {
    .element-mod-simple-container {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 15px auto;
    }

    .element-simple-section,
    .modality-simple-section {
        padding: 7px;
    }

    .element-simple-row,
    .modality-simple-row {
        grid-template-columns: 1fr 70px 70px;
        gap: 8px;
        padding: 8px;
    }

    .element-simple-title,
    .modality-simple-title {
        font-size: 1.1rem;
    }

    .element-simple-count,
    .modality-simple-count {
        font-size: 0.8rem;
    }

    .element-simple-planets,
    .modality-simple-planets {
        font-size: 0.8rem;
    }

    .interpretation-content {
        padding: 15px;
        font-size: 0.9rem;
    }

    .status-strong,
    .status-weak,
    .status-missing,
    .status-normal {
        padding: 1px 6px;
        font-size: 0.7rem;
    }
}










.ai-main-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0 5px 0;
    padding-bottom: 3px;
    border-bottom: 2px solid #3498db;
}

.ai-section-title {
    color: #34495e;
    font-size: 16px;
    font-weight: bold;
    margin: 8px 0 8px 0 !important;
    padding-left: 8px;
    border-left: 2px solid var(--global-palette2, #9b59b6);
}

.ai-mini-section-title {
    color: #34495e;
    font-size: 14px;
    font-weight: bold;
    margin: 8px 0 8px 0 !important;
    padding-left: 8px;
    border-left: 1px solid dodgerblue;
}

.ai-paragraph {
    margin: 8px 0 !important;
    text-align: justify;
    color: #2c3e50;
    line-height: 1.5;
}

.ai-bullet {
    color: #e74c3c;
    font-weight: bold;
    margin-right: 5px;
}

.ai-list {
    margin: 8px 0;
    padding-left: 0;
}

.ai-list-item {
    margin: 5px 0;
    position: relative;
    list-style: none;
    color: #2c3e50;
}

.upgrade-send-btn {
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.premium-upgrade-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #333;
}

.premium-upgrade-btn:hover {
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.member-upgrade-btn {
    background: linear-gradient(135deg, var(--global-palette1, #667eea) 0%, var(--global-palette2, #764ba2) 100%);
    color: white;
}

.member-upgrade-btn:hover {
    box-shadow: 0 4px 12px rgba(var(--global-palette1-rgb, 102, 126, 234), 0.4);
}

/* Analiz Butonları */
.analysis-buttons-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 35px 0;
    padding: 20px;
    flex-wrap: wrap;
}

.analysis-btn {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 250px;
    margin-left: -10px;
}

.ai-analysis-btn {
    background: linear-gradient(135deg, var(--global-palette1, #667eea) 0%, var(--global-palette2, #764ba2) 100%);
    color: #fff;
}

.ai-analysis-btn:hover {
    box-shadow: 0 5px 20px rgba(var(--global-palette1-rgb, 102, 126, 234), 0.4);
}

.astrologer-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff !important;
}

.astrologer-btn:hover {
    box-shadow: 0 5px 20px rgba(245, 87, 108, 0.4);
}

/* AI Chat Modal */
.ai-chat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.ai-chat-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 850px;
    height: 85vh;
    max-height: 800px;
    background: white;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ai-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--global-palette1, #667eea) 0%, var(--global-palette2, #764ba2) 100%);
    color: #fff !important;
    border-radius: 16px 16px 0 0;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: #f7f8fa;
}

.loading-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

.message {
    margin-bottom: 13px;
    display: flex;
    animation: fadeIn 0.3s ease;
}

.user-message {
    justify-content: flex-end;
}

.ai-message {
    justify-content: flex-start;
}

.message-content {
    max-width: 75%;
    padding: 16px 20px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.5;
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--global-palette1, #667eea) 0%, var(--global-palette2, #764ba2) 100%);
    color: white;
    border-bottom-right-radius: 6px;
}

.ai-message .message-content {
    background: white;
    color: #333;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-bottom-left-radius: 6px;
}

/* AI mesajları için formatlar */
.ai-message .message-content strong {
    color: var(--global-palette1, #667eea);
    font-weight: 600;
    display: block;
    margin-top: 16px;
    margin-bottom: 8px;
}

.ai-message .message-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.ai-message .message-content li {
    margin: 5px 0;
    list-style-type: disc;
}

.ai-chat-input-container {
    padding: 10px;
    border-top: 1px solid #e9ecef;
    background: white;
}

.ai-chat-input-container form {
    display: flex;
    gap: 10px;
}

.ai-chat-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e9ecef;
    border-radius: 28px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
}

.ai-chat-input:focus {
    border-color: var(--global-palette1, #667eea);
    box-shadow: 0 0 0 3px rgba(var(--global-palette1-rgb, 102, 126, 234), 0.1);
}

.send-btn {
    border-radius: 5px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--global-palette1, #667eea) 0%, var(--global-palette2, #764ba2) 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.send-btn:hover {
    box-shadow: 0 4px 12px rgba(var(--global-palette1-rgb, 102, 126, 234), 0.3);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc !important;
}

.remaining-questions {
    padding: 10px;
    background: #f0f2f5;
    text-align: center;
    font-size: 14px;
    color: #666;
    border-radius: 0 0 16px 16px;
}

.remaining-questions span {
    font-weight: bold;
    color: var(--global-palette1, #667eea);
}

.remaining-questions.no-questions {
    background: #ffe6e6;
    color: #d63384;
    font-weight: 600;
    font-size: 0.9rem;
}

.remaining-questions.no-questions a {
    color: #d63384;
}

.remaining-questions.no-questions span {
    color: #d63384;
}

.upgrade-message {
    background: linear-gradient(135deg, var(--global-palette1, #667eea) 0%, var(--global-palette2, #764ba2) 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin: 10px 0;
    text-align: center;
}

/* Typing indicator */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}


/* Responsive */
@media (max-width: 768px) {
    .ai-chat-container {
        width: 97%;
        height: 74vh;
        top: 50%;
        max-height: none;
    }

    .message-content {
        max-width: 85%;
    }

    .ai-chat-header {
        padding: 10px;
    }

    .ai-chat-messages {
        padding: 10px;
    }

    .remaining-questions {
        padding: 3px;
    }

    .analysis-btn {
        min-width: 170px;
        font-size: 0.9rem;
        padding: 10px;
        margin-left: 0px;
    }

    .send-btn {
        padding: 10px 16px;
    }

    .analysis-buttons-container {
        gap: 12px;
        margin: 20px 0;
        padding: 15px;
    }

    #chatForm {
        gap: 7px;
    }

}


























.birth-chart-container {
    max-width: 720px;
    margin: 30px auto 40px auto;
    position: relative;
}

.chart-svg {
    width: 100%;
    height: auto;
    font-family: Arial, sans-serif;
}

.zodiac-sign {
    stroke: #ddd;
    stroke-width: 1;
    transition: fill 0.3s;
}

.zodiac-sign:hover {
    opacity: 0.8;
}

.house-line {
    stroke: #aaa;
    stroke-width: 1.5;
    stroke-dasharray: 5, 3;
}

.aspect-line {
    stroke: #777;
    stroke-width: 0.8;
    stroke-dasharray: 1, 1;
    opacity: 0.6;
}

.chart-center {
    fill: white;
    stroke: #ddd;
    stroke-width: 1;
}

.sign-label {
    font-size: 14px;
    fill: #444;
    text-anchor: middle;
    dominant-baseline: middle;
    font-weight: 500;
}

.sign-symbol {
    font-size: 20px;
    fill: #333;
    text-anchor: middle;
    dominant-baseline: middle;
    font-weight: bold;
}

.house-label {
    font-size: 12px;
    fill: #555;
    text-anchor: middle;
    font-weight: bold;
}

.angle-marker {
    fill: none;
    stroke: #722;
    stroke-width: 2;
}

.angle-label {
    font-size: 10px;
    fill: #722;
    font-weight: bold;
    text-anchor: middle;
    dominant-baseline: middle;
}

.planet-dot {
    cursor: pointer;
    transition: all 0.3s;
}

.planet-dot:hover {
    filter: brightness(1.2);
}

.planet-symbol {
    font-size: 20px;
    fill: white;
    text-anchor: middle;
    pointer-events: none;
    dominant-baseline: central;
    font-weight: bold;
}

.tooltip {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: none;
    max-width: 240px;
    z-index: 100;
    transition: opacity 0.3s;
}

.tooltip strong {
    display: block;
    margin-bottom: 5px;
    font-size: 17px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

/* Element renkleri */
.element-fire {
    fill: #FFEBEE;
}

.element-earth {
    fill: #E8F5E9;
}

.element-air {
    fill: #E3F2FD;
}

.element-water {
    fill: #E0F7FA;
}

/* Gezegen renkleri */
.planet-sun {
    fill: #FF9800;
}

.planet-moon {
    fill: #78909C;
}

.planet-mercury {
    fill: #7986CB;
}

.planet-venus {
    fill: #4CAF50;
}

.planet-mars {
    fill: #F44336;
}

.planet-jupiter {
    fill: #8D6E63;
}

.planet-saturn {
    fill: #607D8B;
}

.planet-uranus {
    fill: #009688;
}

.planet-neptune {
    fill: #3F51B5;
}

.planet-pluto {
    fill: var(--global-palette2, #673AB7);
}

.planet-ceres {
    fill: #D4A76A;
}

.planet-pallas {
    fill: #FFB6C1;
}

.planet-juno {
    fill: #DDA0DD;
}

.planet-vesta {
    fill: #F0E68C;
}

.planet-pholus {
    fill: #A9A9A9;
}

.point-node {
    fill: var(--global-palette1, #9C27B0);
}

.point-lilith {
    fill: #263238;
}

.point-selena {
    fill: #00E5FF;
}

.point-chiron {
    fill: #00BCD4;
}

.point-special {
    fill: #FF5722;
}

.planet-asteroid {
    fill: #795548;
}

/* Burç sembolleri */
.symbol-fire {
    fill: #FF5722;
}

.symbol-earth {
    fill: #4CAF50;
}

.symbol-air {
    fill: #2196F3;
}

.symbol-water {
    fill: #00BCD4;
}

/* Vurgulama renkleri */
.highlight {
    stroke: #FF5722;
    stroke-width: 2.5;
}

.highlight-house {
    stroke: #2196F3;
    stroke-width: 10;
    ;
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .planet-symbol {
        font-size: 22px;
    }
}

/* Kompozit Harita İçin Özel Stiller */
.composite-mt-20 {
    margin-top: 20px;
}

.composite-mt-30 {
    margin-top: 30px;
}

.composite-mb-30 {
    margin-bottom: 30px;
}

.composite-mb-10 {
    margin-bottom: 10px;
}

.composite-mb-20 {
    margin-bottom: 20px;
}

.composite-mb-25 {
    margin-bottom: 25px;
}

.composite-mb-5 {
    margin-bottom: 5px;
}

.composite-mb-12 {
    margin-bottom: 12px;
}

.composite-text-center {
    text-align: center;
}

.composite-text-center-mb-20 {
    text-align: center;
    margin-bottom: 20px;
}

.composite-text-center-desc {
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0;
}

.composite-section-box {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.composite-section-description {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--global-palette-btn-bg, #7c3aed);
}

.composite-section-p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.composite-th-width-35 {
    width: 35%;
}

.composite-text-center-td {
    text-align: center;
}

.composite-position-relative {
    position: relative;
}

.composite-display-none {
    display: none;
}

.composite-aspect-desc-short {
    margin-bottom: 5px;
}

.composite-aspect-label {
    cursor: pointer;
    color: var(--global-palette-btn-bg, #7c3aed);
    text-decoration: underline;
}

.composite-aspect-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.composite-aspect-content-inner {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
    line-height: 1.7;
    font-size: 0.9rem;
}

.composite-heading-mt-30 {
    margin-top: 30px;
}

.composite-moon-phase-emoji {
    text-align: center;
    font-size: 3rem;
    margin: 20px 0;
}

.composite-moon-phase-text {
    text-align: center;
    font-size: 1.1rem;
}

.composite-planet-card {
    margin-bottom: 25px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.composite-planet-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.composite-planet-icon {
    font-size: 1.8rem;
    margin-right: 12px;
}

.composite-planet-title {
    margin: 0;
    font-size: 1.2rem;
    color: #1f2937;
    font-weight: 600;
}

.composite-planet-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 4px;
}

.composite-planet-text {
    margin: 0;
    line-height: 1.7;
    color: #374151;
    font-size: 1rem;
}

.composite-button-full {
    margin-top: 30px;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.composite-partner-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.composite-partner-column {
    flex: 1;
    min-width: 300px;
}

.composite-partner-heading {
    margin-bottom: 20px;
}

.composite-planet-text-mb-12 {
    margin: 0 0 12px 0;
    line-height: 1.7;
    color: #374151;
    font-size: 1rem;
}

/* Sinastri Harita Özel Stilleri */
.composite-score-container {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    margin: 20px 0;
}

.composite-score-heading {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
}

.composite-score-value {
    font-size: 4em;
    font-weight: bold;
    color: var(--global-palette-btn-bg, #7c3aed);
    margin: 20px 0;
}

.composite-interpretation-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.composite-interpretation-heading {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #333;
}

.composite-interpretation-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

/* Doğum Haritası Hesaplama Özel Stilleri */
.house-chart-wrapper {
    margin-bottom: 30px;
}

.house-separator {
    margin: 20px 0;
    border-bottom: 1px solid #ddd;
    opacity: 0.5;
}

/* Status Renkleri */
.status-very-strong {
    color: #047a18;
}

.status-strong-color {
    color: #0089d3;
}

.status-weak-color {
    color: #e29700;
}

.status-very-weak-color {
    color: #e50300;
}

.status-very-strong-alt {
    color: #00a86b;
}

.status-strong-color-alt {
    color: #4caf50;
}

.status-very-weak-color-alt {
    color: #ff5722;
}

.status-weak-color-alt {
    color: #ff9800;
}

.moon-phase-symbol {
    text-align: center;
    font-size: 6rem;
    margin-bottom: auto;
    margin-top: auto;
}

/* Transit Effect Renkleri */
.transit-effect-positive {
    color: green;
}

.transit-effect-challenging,
.transit-effect-tense {
    color: red;
}

.transit-effect-neutral {
    color: blue;
}

/* Sinastri Harita Tablo Yorum Hücresi */
.composite-interpretation-cell {
    max-width: 300px;
    word-wrap: break-word;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Timezone Container Stilleri */
.timezone-container {
    display: none;
    margin: 10px 0;
}

.timezone-label {
    display: block;
    margin-bottom: 5px;
}

.timezone-select {
    width: 100%;
    padding: 8px;
}

/* Detailed Analysis Section Stilleri */
.detailed-analysis-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.analysis-heading-mb {
    margin-bottom: 20px;
}

.analysis-block {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 5px;
}

.chart-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.chart-flex-column {
    flex: 1;
    min-width: 300px;
}

.card-strengths {
    padding: 15px;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #28a745;
}

.card-challenges {
    padding: 15px;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #dc3545;
}

.heading-success {
    color: #28a745;
}

.heading-danger {
    color: #dc3545;
}

.heading-warning {
    color: #ffc107;
}

.heading-info {
    color: #17a2b8;
}

.list-padded {
    padding-left: 20px;
}

.list-item-mb {
    margin-bottom: 10px;
}

/* Life Areas Section Stilleri */
.life-areas-section {
    margin-bottom: 20px;
}

.life-areas-heading-mb {
    margin-bottom: 15px;
}

.chart-flex-250 {
    flex: 1;
    min-width: 250px;
}

.card-white {
    padding: 15px;
    background: white;
    border-radius: 5px;
}

.card-past-future {
    padding: 15px;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #6c757d;
}

.card-future {
    padding: 15px;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #007bff;
}

.heading-primary {
    color: #007bff;
    margin-bottom: 10px;
}

.insights-section {
    margin-top: 20px;
}

/* Astrokartografi Özel Stilleri */
.astro-map-type-container {
    display: flex;
    width: 95%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.astro-map-type-label {
    width: auto;
    margin: 0 5px 0 0;
}

.astro-map-type-text {
    font-size: 13px;
}

.astro-map-container {
    width: 100%;
    height: 800px;
    margin: 20px 0;
}

.astro-map-residence {
    width: 100%;
    height: 800px;
    margin: 20px 0;
    position: relative;
}

.astro-map-legend {
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
}

.astro-legend-title {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: bold;
}

.astro-legend-item {
    margin: 5px 0;
    font-size: 13px;
}

.astro-legend-planet-name {
    color: inherit;
    font-weight: bold;
}

.astro-legend-desc {
    color: #333;
    font-weight: normal;
    font-size: 11px;
}

.astro-residence-instruction {
    margin-bottom: 15px;
    font-style: italic;
}

/* Leaflet Özel Stilleri */
.planet-line-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.planet-clickable-line {
    cursor: pointer !important;
}

.planet-clickable-line:hover {
    cursor: pointer !important;
}

.planet-invisible-hitbox {
    cursor: pointer !important;
    pointer-events: all !important;
}

.local-space-sidebar {
    position: absolute;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.local-space-sidebar .angle-item {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.local-space-sidebar .angle-label {
    font-weight: bold;
    min-width: 40px;
}

/* Astrokartografi Ek Stilleri */
.astro-panel-mt-20 {
    margin-top: 20px;
}

.astro-table-full {
    width: 100%;
    margin: 20px 0;
}

.astro-planet-cell {
    color: inherit;
    font-weight: bold;
}

.astro-local-space-desc {
    margin-bottom: 15px;
    font-style: italic;
    color: #666;
}

/* Partner Section Fieldset - Form İçinde Düzgün Görünüm */

/* Partner'li formlarda ascendant-form özel düzenlemeleri */
#ascendant-form:has(.partner-section) {
    display: block !important;
    padding: 5px 20px 20px 20px !important;
}

#ascendant-form .partner-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: .625em 1.1em .825em;
    border: 1px solid var(--global-gray-500);
    border-radius: 5px;
    margin-top: 1.2em;
    margin-bottom: 1.2em;
}

#ascendant-form .partner-section legend {
    font-size: 18px;
    font-weight: bold;
    color: var(--global-palette-btn-bg, #7c3aed);
    margin-bottom: 5px;
    padding: 0;
}

/* Partner Section içindeki form elemanlarının normal davranması için */
#ascendant-form .partner-section .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 10px;
    align-items: center;
    position: relative;
    overflow: visible;
}

#ascendant-form .partner-section .form-row label {
    flex: 1 1 100%;
    font-weight: bold;
    transition: color 0.3s ease;
}

#ascendant-form .partner-section .form-row:focus-within label {
    color: var(--global-palette-btn-bg, #7c3aed);
}

#ascendant-form .partner-section .form-row select,
#ascendant-form .partner-section .form-row input {
    flex: 1 1 auto;
    padding: 10px !important;
    margin: 5px 0;
    border-radius: 5px !important;
    font-size: 15px;
    border: 1px solid #ccc !important;
    transition: all 0.3s ease;
}

#ascendant-form .partner-section .form-row select:focus,
#ascendant-form .partner-section .form-row input:focus {
    outline: none;
    border-color: var(--global-palette-btn-bg, #7c3aed) !important;
    box-shadow: 0 0 0 3px rgba(var(--global-palette1-rgb, 124, 58, 237), 0.15);
}

/* Timezone display partner section içinde */
#ascendant-form .partner-section #timezone-display-a,
#ascendant-form .partner-section #timezone-display-b {
    font-size: 12px;
    color: #555;
    margin-top: -5px;
}

/* Timezone select container başlangıçta gizli olmalı */
#ascendant-form .partner-section .timezone-container {
    display: none;
    /* Varsayılan olarak gizli */
    flex-wrap: wrap;
    gap: 0px 10px;
    align-items: center;
}

#ascendant-form .partner-section .timezone-container label {
    flex: 1 1 100%;
    font-weight: bold;
}

#ascendant-form .partner-section .timezone-select {
    flex: 1 1 auto;
    padding: 10px !important;
    margin: 5px 0;
    border-radius: 5px !important;
    font-size: 15px;
    border: 1px solid #ccc !important;
}

/* Partner section içindeki hesapla butonu */
#ascendant-form:has(.partner-section) button {
    color: white;
    background-color: var(--global-palette-btn-bg, #7c3aed);
    border: none;
    cursor: pointer;
    padding: 12px 24px !important;
    font-weight: 600;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

#ascendant-form:has(.partner-section) button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

#ascendant-form:has(.partner-section) button:hover {
    box-shadow: 0 5px 15px rgba(var(--global-palette1-rgb, 124, 58, 237), 0.3);
}

#ascendant-form:has(.partner-section) button:hover:before {
    left: 100%;
}

/* Navamsa D9 Özel Stilleri */
.navamsa-lagna-panel {
    background: linear-gradient(135deg, var(--global-palette1, #667eea) 0%, var(--global-palette2, #764ba2) 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
}

.navamsa-lagna-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navamsa-lagna-icon {
    font-size: 36px;
}

.navamsa-lagna-text h3 {
    margin: 0 0 5px 0;
    color: white;
}

.navamsa-lagna-sign {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.navamsa-lagna-desc {
    margin: 5px 0 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.navamsa-usage-box {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 20px;
}

.navamsa-usage-title {
    margin: 0 0 10px 0;
    color: #92400e;
}

.navamsa-usage-icon {
    font-size: 20px;
}

.navamsa-usage-text {
    margin: 0 0 10px 0;
    color: #78350f;
}

.navamsa-usage-text:last-child {
    margin: 0;
}

.navamsa-what-panel-header {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    color: white;
}

.navamsa-what-title {
    margin: 0;
    color: white !important;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navamsa-what-icon {
    margin-right: 8px;
}

.navamsa-usage-areas-title {
    margin: 15px 0 10px 0;
    color: #0369a1;
}

.navamsa-usage-list {
    margin: 10px 0;
    padding-left: 20px;
}

.navamsa-marriage-indicators-card {
    background: #f8fafc;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    border-left: 4px solid;
}

.navamsa-planet-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.navamsa-planet-icon {
    font-size: 24px;
}

.navamsa-planet-title {
    margin: 0;
    font-weight: bold;
}

.navamsa-planet-badge {
    margin-left: auto;
    background: var(--planet-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.navamsa-importance-badge {
    background: #dc2626;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.navamsa-planet-interpretation {
    margin: 5px 0;
    font-size: 14px;
    color: #475569;
}

.navamsa-characteristics-section {
    margin-top: 10px;
}

.navamsa-characteristics-title {
    color: #64748b;
    font-size: 13px;
    font-weight: bold;
}

.navamsa-characteristics-list {
    margin: 5px 0;
    padding-left: 20px;
    font-size: 13px;
    color: #64748b;
}

.navamsa-info-row {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.navamsa-info-row:last-child {
    border-bottom: none;
}

.navamsa-info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1f2937;
}

.navamsa-info-icon {
    font-size: 20px;
}

.navamsa-info-value {
    padding-left: 28px;
}

.navamsa-sign-name {
    font-size: 1.2em;
    color: var(--global-palette1, #667eea);
    font-weight: bold;
}

.navamsa-description {
    margin-top: 8px;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .navamsa-lagna-panel {
        padding: 15px;
    }

    .navamsa-lagna-icon {
        font-size: 28px;
    }

    .navamsa-lagna-sign {
        font-size: 20px;
    }

    .navamsa-usage-box {
        padding: 15px;
    }

    .navamsa-marriage-indicators-card {
        padding: 12px;
    }

    .navamsa-planet-icon {
        font-size: 20px;
    }
}

/* Transit Module Styles */
.transit-result-container {
    margin: 20px 0;
}

.transit-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 3px solid var(--global-palette-btn-bg, #7c3aed);
    padding-bottom: 10px;
}

.transit-date {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}

.natal-position,
.current-position {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--global-palette-btn-bg, #7c3aed);
}

.no-aspects {
    text-align: center;
    padding: 30px;
    color: #999;
    font-size: 1.1em;
    background: #f5f5f5;
    border-radius: 8px;
}

.aspect-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 5px solid var(--global-palette-btn-bg, #7c3aed);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aspect-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.aspect-card.high-importance {
    border-left-color: #dc2626;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.aspect-card.medium-importance {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.aspect-card.low-importance {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.aspect-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.aspect-planets {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2em;
}

.aspect-symbol {
    font-size: 1.4em;
    color: var(--global-palette-btn-bg, #7c3aed);
}

.aspect-title {
    font-weight: bold;
    font-size: 1.1em;
}

.aspect-body {
    margin-top: 10px;
}

.aspect-body p {
    margin: 8px 0;
}

.importance-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    color: white;
}

.importance-badge.high {
    background-color: #dc2626;
}

.importance-badge.medium {
    background-color: #f59e0b;
}

.importance-badge.low {
    background-color: #10b981;
}

@media (max-width: 768px) {
    .transit-title {
        font-size: 1.4em;
    }

    .aspect-card {
        padding: 15px;
    }

    .aspect-planets {
        font-size: 1em;
    }

    .aspect-symbol {
        font-size: 1.2em;
    }
}

/* Utility Classes - Margin Top */
.mt-30 {
    margin-top: 30px !important;
}

/* Transit Filtreleme Stilleri */
.transit-filters {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(var(--global-palette1-rgb, 124, 58, 237), 0.1);
}

.transit-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.transit-filter-btn {
    color: white;
    background-color: var(--global-palette-btn-bg, #7c3aed);
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 5px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.transit-filter-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.transit-filter-btn:hover {
    box-shadow: 0 4px 12px rgba(var(--global-palette1-rgb, 124, 58, 237), 0.3);
    opacity: 0.9;
}

.transit-filter-btn:hover:before {
    left: 100%;
}

.transit-filter-btn.active {
    opacity: 1;
    box-shadow: 0 4px 12px rgba(var(--global-palette1-rgb, 124, 58, 237), 0.4);
}

.transit-filter-selects {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.transit-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.transit-filter-label {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.transit-select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background-color: white;
    transition: all 0.3s ease;
    min-width: 150px;
}

.transit-select:focus {
    outline: none;
    border-color: var(--global-palette-btn-bg, #7c3aed);
    box-shadow: 0 0 0 3px rgba(var(--global-palette1-rgb, 124, 58, 237), 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .transit-filter-selects {
        flex-direction: column;
        gap: 15px;
    }

    .transit-filter-group {
        flex-direction: column;
        width: 100%;
    }

    .transit-select {
        width: 100%;
    }

    .transit-filter-buttons {
        flex-direction: column;
    }

    .transit-filter-btn {
        width: 100%;
    }
}

/* =====================================================
   TAROT STYLES - Tarot.php'den aktarıldı
   ===================================================== */

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Tarot Form Wrapper */
.tarot-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.tarot-title {
    text-align: center;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: var(--global-palette1, #667eea) !important;
    margin-bottom: 20px !important;
    display: block !important;
}

.tarot-form-wrapper label {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.tarot-form-wrapper .required {
    color: #ef4444;
    margin-left: 2px;
}

.tarot-form-wrapper textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
}

.tarot-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--global-palette1, #667eea);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Tarot Kartları */
.tarot-card {
    width: 70px;
    height: 105px;
    background: linear-gradient(135deg, #2d1b69 0%, #1a0f3f 100%);
    border-radius: 8px;
    border: 2px solid #7c3aed;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tarot-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
    border-color: #a78bfa;
}

.tarot-card.selected {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    border-color: #fbbf24;
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.6);
}

.tarot-card-icon {
    font-size: 2.2rem;
    opacity: 1;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.tarot-card:hover .tarot-card-icon {
    transform: scale(1.1);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    margin: 30px auto;
    max-width: 900px;
    justify-items: center;
}

/* Tarot Sonuç Kartları */
.tarot-result-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tarot-card-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--global-palette-btn-bg, #7c3aed);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tarot-answer {
    font-size: 3rem;
    font-weight: bold;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.tarot-answer.yes {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.tarot-answer.no {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.tarot-answer.maybe {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.tarot-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 20px 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.action-buttons button {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-ask-again {
    background: linear-gradient(135deg, var(--global-palette1, #667eea) 0%, var(--global-palette2, #764ba2) 100%);
    color: white;
}

.btn-new-question {
    background: #f3f4f6;
    color: #374151;
}

/* 3 Kart Seçimi - Özel Stiller */
.selection-counter {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 20px;
}

.three-cards-result {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.card-result-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-result-header {
    font-size: 1.3rem;
    font-weight: bold;
    color: #7c3aed;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tarot Responsive Styles */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(10, 1fr);
        gap: 8px;
    }

    .tarot-card {
        width: 60px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 8px;
        max-width: 100%;
    }

    .tarot-card {
        width: 65px;
        height: 97px;
    }

    .tarot-card-icon {
        font-size: 2rem;
    }

    .tarot-answer {
        font-size: 2rem;
    }

    .action-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
        padding: 0 10px;
    }

    .tarot-card {
        width: 100%;
        max-width: 60px;
        height: 90px;
    }

    .tarot-card-icon {
        font-size: 1.8rem;
    }
}

@media (max-width: 360px) {
    .cards-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 3px;
        padding: 0 5px;
    }

    .tarot-card {
        width: 100%;
        max-width: 55px;
        height: 82px;
    }

    .tarot-card-icon {
        font-size: 1.6rem;
    }
}

/* Rectification Chart Styles */
.rectification-results {
    padding: 20px;
}

.suggested-times {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.time-suggestion {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
}

.time-suggestion.high-confidence {
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-left: 4px solid #667eea;
}

.time-suggestion.medium-confidence {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.time-suggestion.low-confidence {
    background: #f8f9fa;
    border-left: 4px solid #6c757d;
}

.time-suggestion .rank {
    font-weight: bold;
    font-size: 18px;
    color: #667eea;
}

.time-suggestion .time {
    font-size: 24px;
    font-weight: bold;
}

.time-suggestion .score {
    margin-left: auto;
    color: #666;
}

.rectification-note {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
}

/* Fixed Method Text Style */
.fixed-method-text {
    background-color: #f8f9fa !important;
    color: #333 !important;
    cursor: default !important;
}


/* No Time Chart Styles */
.no-time-info-badge {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-left: 8px;
}