/* AstroHub - Page Specific Styles */

/* ==================== HOROSCOPE PAGE ==================== */
.personalized-card {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.2), rgba(246, 173, 85, 0.1));
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.personalized-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(246, 173, 85, 0.2);
}

.personalized-icon {
    font-size: 3rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    border-radius: 50%;
}

.personalized-info {
    flex: 1;
}

.personalized-info h3 {
    font-size: 1.3rem;
    margin: 8px 0 4px;
}

.personalized-info p {
    color: var(--text-secondary);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge.gold {
    background: rgba(246, 173, 85, 0.2);
    color: var(--accent-gold);
}

.arrow {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

/* Zodiac Grid */
.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.zodiac-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.zodiac-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.zodiac-card[data-element="Fire"] { border-color: #FF6B35; }
.zodiac-card[data-element="Fire"]:hover { box-shadow: 0 0 30px rgba(255, 107, 53, 0.3); }
.zodiac-card[data-element="Earth"] { border-color: #4CAF50; }
.zodiac-card[data-element="Earth"]:hover { box-shadow: 0 0 30px rgba(76, 175, 80, 0.3); }
.zodiac-card[data-element="Air"] { border-color: #2196F3; }
.zodiac-card[data-element="Air"]:hover { box-shadow: 0 0 30px rgba(33, 150, 243, 0.3); }
.zodiac-card[data-element="Water"] { border-color: #9C27B0; }
.zodiac-card[data-element="Water"]:hover { box-shadow: 0 0 30px rgba(156, 39, 176, 0.3); }

.zodiac-symbol {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 8px;
}

.zodiac-symbol.large {
    font-size: 4rem;
}

.zodiac-card h4 {
    margin-bottom: 4px;
}

.zodiac-dates {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Horoscope Content */
.horoscope-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 30px;
}

.horoscope-content.personalized {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--bg-card), rgba(107, 70, 193, 0.05));
}

.horoscope-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.horoscope-header h2 {
    margin-bottom: 4px;
}

.horoscope-header p {
    color: var(--text-secondary);
}

.element-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
}

.greeting-card {
    background: rgba(246, 173, 85, 0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.greeting-card p {
    color: var(--accent-gold);
    font-style: italic;
    font-size: 1.1rem;
}

.horoscope-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.horoscope-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--accent-color, var(--primary-light));
}

.horoscope-section h3 span {
    font-size: 1.2rem;
}

.horoscope-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.horoscope-section.love h3 { color: #F687B3; }
.horoscope-section.career h3 { color: #63B3ED; }
.horoscope-section.health h3 { color: #68D391; }

.lucky-section {
    background: rgba(246, 173, 85, 0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.lucky-section h3 {
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.lucky-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 16px;
}

.lucky-item {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.lucky-item span {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
}

.lucky-item strong {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 4px;
}

.lucky-item p {
    color: var(--accent-gold);
    font-weight: 600;
}

.lucky-item p.big {
    font-size: 1.5rem;
}

.tip-section {
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.1), rgba(107, 70, 193, 0.05));
    border: 1px solid rgba(159, 122, 234, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
}

.tip-section h3 {
    color: var(--accent-purple);
    margin-bottom: 8px;
}

.horoscope-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

/* ==================== NUMEROLOGY PAGE ==================== */
.numerology-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 30px;
}

.numerology-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.numerology-header p {
    color: var(--text-secondary);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.number-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

.number-card.primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--bg-card));
    border-color: var(--primary);
    grid-column: span 2;
}

.number-card .number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
}

.number-card h4 {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.number-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.interpretation-section,
.compatibility-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}

.interpretation-section h3,
.compatibility-section h3 {
    margin-bottom: 12px;
    color: var(--primary-light);
}

.lucky-numbers {
    background: rgba(246, 173, 85, 0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.lucky-numbers h3 {
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.lucky-nums {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.lucky-num {
    background: linear-gradient(135deg, var(--accent-gold), #DD6B20);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
}

/* Numerology Sections */
.numerology-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.numerology-section h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.lucky-colors-section h3 {
    color: #E91E63;
}

.color-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-tag {
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.2), rgba(156, 39, 176, 0.2));
    border: 1px solid rgba(233, 30, 99, 0.3);
    border-radius: var(--radius-md);
    color: #F48FB1;
    font-weight: 500;
}

.strengths-section h3 {
    color: var(--success);
}

.challenges-section h3 {
    color: var(--warning);
}

.insight-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.insight-tags .tag {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

.tag.strength {
    background: rgba(72, 187, 120, 0.15);
    border: 1px solid rgba(72, 187, 120, 0.3);
    color: var(--success);
}

.tag.challenge {
    background: rgba(237, 137, 54, 0.15);
    border: 1px solid rgba(237, 137, 54, 0.3);
    color: var(--warning);
}

.compatibility-section h3 {
    color: #E91E63;
}

.compat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.compat-label {
    color: var(--text-secondary);
    min-width: 120px;
}

.compat-numbers {
    display: flex;
    gap: 8px;
}

.compat-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.compat-num.good {
    background: rgba(72, 187, 120, 0.2);
    border: 2px solid var(--success);
    color: var(--success);
}

.compat-num.warn {
    background: rgba(237, 137, 54, 0.2);
    border: 2px solid var(--warning);
    color: var(--warning);
}

.analysis-section h3 {
    color: var(--primary-light);
}

.detailed-analysis {
    line-height: 1.8;
    color: var(--text-secondary);
}

.detailed-analysis p {
    margin-bottom: 16px;
}

.credits-used {
    text-align: center;
    padding: 16px;
    background: rgba(107, 70, 193, 0.1);
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.credits-used p {
    color: var(--primary-light);
    margin: 0;
}

/* ==================== PANDIT CHAT PAGE ==================== */
.chat-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto 30px;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pandit-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.pandit-info h3 {
    margin-bottom: 2px;
}

.status {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.status.online::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    margin-right: 6px;
}

.chat-badge {
    margin-left: auto;
    background: rgba(246, 173, 85, 0.2);
    color: var(--accent-gold);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    display: flex;
    gap: 12px;
    max-width: 80%;
}

.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.message-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 12px 16px;
}

.message.user .message-content {
    background: var(--primary);
}

.message.bot .message-content {
    border: 1px solid var(--border-color);
}

.message.error .message-content {
    border-color: var(--error);
}

.error-detail {
    font-size: 0.8rem;
    color: var(--error);
    margin-top: 8px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    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; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
}

.chat-input-container {
    padding: 20px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.chat-form {
    display: flex;
    gap: 12px;
}

.chat-form input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    color: var(--text-primary);
    font-size: 1rem;
}

.chat-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.send-btn {
    background: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 0 20px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.send-btn:hover {
    background: var(--primary-dark);
}

.login-overlay {
    text-align: center;
    padding: 20px;
}

.login-overlay p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.suggested-questions {
    max-width: 800px;
    margin: 0 auto;
}

.suggested-questions h3 {
    margin-bottom: 16px;
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.question-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    color: var(--text-secondary);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

.question-btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

/* ==================== PALM READING PAGE ==================== */
.palm-upload-section {
    max-width: 600px;
    margin: 0 auto 30px;
}

.upload-card {
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

.upload-card:hover {
    border-color: var(--primary);
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.upload-card h3 {
    margin-bottom: 8px;
}

.upload-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.upload-buttons {
    margin-bottom: 24px;
}

.preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.palm-preview {
    max-width: 300px;
    max-height: 300px;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
}

.palm-tips {
    max-width: 600px;
    margin: 0 auto 30px;
}

.palm-tips h3 {
    margin-bottom: 16px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.tip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.tip-card span {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

.tip-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.palm-lines-info {
    max-width: 800px;
    margin: 0 auto;
}

.palm-lines-info h3 {
    margin-bottom: 16px;
}

.lines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.line-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

.line-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.line-card h4 {
    margin-bottom: 8px;
}

.line-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Palm Content */
.palm-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 30px;
}

.palm-header {
    text-align: center;
    margin-bottom: 24px;
}

.palm-image-result {
    text-align: center;
    margin-bottom: 24px;
}

.palm-image-result img {
    max-width: 250px;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
}

.palm-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.palm-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--primary-light);
}

.palm-section.overview h3 { color: var(--accent-gold); }
.palm-section.heart h3 { color: #F687B3; }
.palm-section.head h3 { color: #63B3ED; }
.palm-section.life h3 { color: #68D391; }
.palm-section.fate h3 { color: #D69E2E; }

.palm-actions {
    margin-top: 24px;
    text-align: center;
}

/* ==================== PROFILE & CREDITS ==================== */
.profile-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--bg-card));
    border: 1px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    margin-bottom: 4px;
}

.profile-info p {
    color: var(--text-secondary);
}

.zodiac-badge {
    display: inline-block;
    background: rgba(246, 173, 85, 0.2);
    color: var(--accent-gold);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-top: 8px;
}

.credits-display {
    text-align: center;
    background: rgba(246, 173, 85, 0.2);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s;
}

.credits-display:hover {
    background: rgba(246, 173, 85, 0.3);
}

.credits-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-gold);
    display: block;
}

.credits-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.profile-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.profile-section h3 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.setting-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.setting-icon {
    font-size: 1.3rem;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    border-radius: 26px;
    transition: 0.3s;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.history-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.history-link:hover {
    background: var(--bg-card-hover);
}

.history-link span:last-child {
    margin-left: auto;
    color: var(--text-muted);
}

.danger-zone {
    border-color: var(--error);
}

/* Credits Page */
.credits-card {
    background: linear-gradient(135deg, rgba(246, 173, 85, 0.2), var(--bg-card));
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.credits-balance {
    margin-bottom: 24px;
}

.balance-amount {
    font-size: 4rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--accent-gold), #DD6B20);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.balance-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.buy-credits {
    margin-bottom: 30px;
}

.buy-credits h3 {
    margin-bottom: 20px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.package-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.package-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.package-card.popular {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(246, 173, 85, 0.1), var(--bg-card));
}

.package-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: #000;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.package-credits {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-light);
    display: block;
}

.package-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.package-price {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 8px;
}

.package-save {
    color: var(--success);
    font-size: 0.8rem;
    margin-top: 4px;
}

.credits-info,
.credits-history {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.credits-info h3,
.credits-history h3 {
    margin-bottom: 16px;
}

.usage-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.usage-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.usage-item:last-child {
    border-bottom: none;
}

.free-badge {
    background: var(--success);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.history-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.history-icon {
    font-size: 1.3rem;
}

.history-desc {
    margin-bottom: 2px;
}

.history-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.history-amount {
    font-weight: 600;
}

.history-amount.positive {
    color: var(--success);
}

.history-amount.negative {
    color: var(--error);
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.empty-state span {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

/* ==================== KUNDALI PAGE ==================== */
.kundali-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 30px;
}

.kundali-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.kundali-header p {
    color: var(--text-secondary);
}

.kundali-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.kundali-section h3 {
    color: var(--primary-light);
    margin-bottom: 12px;
}

.kundali-section .highlight {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.planets-section {
    margin-bottom: 24px;
}

.planets-section h3 {
    margin-bottom: 16px;
}

.planets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.planet-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.planet-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.planet-card h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.planet-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.dasha-section,
.predictions-section {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), var(--bg-secondary));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.dasha-section h3,
.predictions-section h3 {
    color: var(--accent-purple);
    margin-bottom: 12px;
}

.kundali-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border-color);
    padding: 2px;
    border-radius: var(--radius-md);
    max-width: 400px;
    margin: 0 auto;
}

.house {
    background: var(--bg-secondary);
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==================== ENHANCED KUNDALI STYLES ==================== */

/* Tab Navigation */
.kundali-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.kundali-tab {
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    white-space: nowrap;
}

.kundali-tab:hover {
    background: rgba(107, 70, 193, 0.1);
    color: var(--text-primary);
}

.kundali-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: white;
}

.kundali-tab-content .tab-pane {
    display: none;
}

.kundali-tab-content .tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Birth Summary */
.birth-summary {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(246, 173, 85, 0.1), rgba(107, 70, 193, 0.1));
    border-radius: var(--radius-lg);
}

.summary-item {
    text-align: center;
}

.summary-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
}

/* South Indian Style Chart */
.south-indian-chart {
    max-width: 450px;
    margin: 0 auto 30px;
    background: var(--bg-card);
    border: 2px solid var(--border-accent);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.chart-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.chart-row:nth-child(2),
.chart-row:nth-child(3) {
    grid-template-columns: 1fr 2fr 1fr;
}

.chart-cell {
    aspect-ratio: 1;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--bg-secondary);
    position: relative;
    min-height: 80px;
}

.chart-cell:hover {
    background: rgba(107, 70, 193, 0.1);
}

.house-num {
    position: absolute;
    top: 4px;
    left: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.lagna-marker {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 0.6rem;
    color: var(--accent-gold);
    background: rgba(246, 173, 85, 0.2);
    padding: 2px 4px;
    border-radius: 3px;
}

.chart-planet {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    background: rgba(107, 70, 193, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    margin: 2px;
}

.chart-center {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: span 2;
    grid-row: span 2;
}

.chart-center-content {
    text-align: center;
}

.chart-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Yogas Section */
.yogas-section {
    margin-top: 30px;
}

.yogas-section h4,
.doshas-section h4 {
    margin-bottom: 16px;
    color: var(--primary-light);
}

.yogas-grid,
.doshas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.yoga-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.yoga-card.active {
    border-color: var(--success);
    background: rgba(72, 187, 120, 0.05);
}

.yoga-card h5 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.yoga-effect {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.yoga-strength {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: capitalize;
}

.yoga-strength.strong {
    background: rgba(72, 187, 120, 0.2);
    color: var(--success);
}

.yoga-strength.medium {
    background: rgba(237, 137, 54, 0.2);
    color: var(--warning);
}

.yoga-strength.weak {
    background: rgba(245, 101, 101, 0.2);
    color: var(--error);
}

/* Doshas */
.dosha-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 16px;
}

.dosha-card.severity-mild {
    border: 1px solid var(--success);
}

.dosha-card.severity-moderate {
    border: 1px solid var(--warning);
}

.dosha-card.severity-severe {
    border: 1px solid var(--error);
}

.dosha-severity {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.dosha-remedy {
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-top: 8px;
}

/* Planets Table */
.planets-table {
    overflow-x: auto;
}

.planets-header,
.planet-row {
    display: grid;
    grid-template-columns: 2fr 1fr 0.5fr 0.8fr 1.5fr 1fr;
    gap: 8px;
    padding: 12px 16px;
    align-items: center;
}

.planets-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--bg-secondary));
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.planet-row {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.planet-row:hover {
    background: rgba(107, 70, 193, 0.1);
}

.planet-row.retrograde {
    background: rgba(237, 137, 54, 0.05);
}

.planet-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.retro-badge {
    background: var(--warning);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
}

.dignity-exalted {
    color: var(--success);
    font-weight: 600;
}

.dignity-own {
    color: var(--primary-light);
    font-weight: 500;
}

.dignity-friend {
    color: var(--accent-gold);
}

.dignity-neutral {
    color: var(--text-secondary);
}

.dignity-enemy {
    color: var(--warning);
}

.dignity-debilitated {
    color: var(--error);
}

/* Houses Grid */
.houses-section {
    margin-top: 30px;
}

.houses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.house-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

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

.house-number {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
}

.house-sign {
    color: var(--accent-gold);
    font-weight: 500;
}

.house-significance {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.house-planets {
    font-size: 0.8rem;
    color: var(--primary-light);
    background: rgba(107, 70, 193, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Predictions Cards */
.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.prediction-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.3s;
}

.prediction-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.prediction-icon {
    font-size: 1.5rem;
}

.prediction-header h5 {
    color: var(--primary-light);
    margin: 0;
}

.prediction-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Favorable Section */
.favorable-section {
    background: linear-gradient(135deg, rgba(246, 173, 85, 0.1), rgba(107, 70, 193, 0.05));
    border: 1px solid rgba(246, 173, 85, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 24px;
}

.favorable-section h4 {
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.favorable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.favorable-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 12px;
}

.favorable-item.mantras {
    grid-column: 1 / -1;
}

.fav-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.fav-value {
    font-weight: 500;
    color: var(--text-primary);
}

.mantra {
    display: block;
    background: rgba(107, 70, 193, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 6px;
    font-size: 0.9rem;
    font-style: italic;
}

/* Dasha Section */
.current-dasha {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.dasha-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
}

.dasha-card.current {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), var(--bg-secondary));
}

.dasha-card.antar {
    border: 1px solid var(--accent-gold);
}

.dasha-card h5 {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dasha-planet {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dasha-dates {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.dasha-effects {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.upcoming-dashas h5 {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.dasha-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.timeline-planet {
    font-weight: 600;
    min-width: 100px;
}

.timeline-dates {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-prediction {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Monthly Predictions */
.monthly-predictions h4 {
    margin-bottom: 20px;
    color: var(--primary-light);
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.month-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.3s;
}

.month-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.month-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.month-header h5 {
    color: var(--accent-gold);
    margin: 0;
}

.rating {
    font-size: 0.9rem;
}

.month-overall {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.month-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail-item span {
    width: 24px;
    text-align: center;
}

.lucky-days {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.lucky-label {
    color: var(--accent-gold);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

/* ==================== ENHANCED KUNDALI SECTIONS ==================== */

/* Chara Karakas Section */
.karakas-section {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.karakas-section h4 {
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.karakas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.karaka-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.karaka-name {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.karaka-planet {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-light);
}

.karaka-degree {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Enhanced Predictions Section */
.predictions-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.prediction-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.prediction-card.full-width {
    grid-column: 1 / -1;
}

.prediction-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.prediction-icon {
    font-size: 1.5rem;
}

.prediction-header h5 {
    margin: 0;
    color: var(--accent-gold);
    font-size: 1rem;
}

.prediction-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

.prediction-content p {
    margin-bottom: 10px;
}

.prediction-content strong {
    color: var(--text-primary);
}

.dasha-dates {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Favorable Section */
.favorable-section {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), var(--bg-secondary));
    border-radius: var(--radius-lg);
    border: 1px solid var(--accent-gold);
}

.favorable-section h4 {
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.favorable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.favorable-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.favorable-item.full-width {
    grid-column: 1 / -1;
}

.fav-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.fav-value {
    font-weight: 600;
    color: var(--text-primary);
}

.mantra-text {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

/* Enhanced Dasha Section */
.nakshatra-info {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
}

.info-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.info-value {
    font-weight: 600;
    color: var(--text-primary);
}

.current-dasha-highlight {
    margin-bottom: 24px;
}

.current-dasha-highlight h5 {
    color: var(--primary-light);
    margin-bottom: 12px;
}

.dasha-planet-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dasha-duration {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.all-dashas h5 {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.dasha-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.dasha-timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.dasha-timeline-item.current {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.15), var(--bg-secondary));
}

.dasha-timeline-item.past {
    opacity: 0.6;
}

.dasha-timeline-item.future {
    border-color: var(--accent-gold);
}

.dasha-number {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.dasha-timeline-item.past .dasha-number {
    background: var(--text-muted);
}

.dasha-info {
    flex: 1;
}

.dasha-info .dasha-planet {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.dasha-years {
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.dasha-period {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.current-badge {
    position: absolute;
    top: -8px;
    right: 8px;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Ashtakavarga Section */
.ashtakavarga-section {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.ashtakavarga-section h5 {
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.ashtakavarga-total {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.total-label {
    color: var(--text-muted);
}

.total-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-light);
}

.ashtakavarga-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.ashtaka-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 6px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.ashtaka-cell.strong {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.ashtaka-cell.weak {
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.ashtaka-cell .sign-name {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-align: center;
}

.ashtaka-cell .points {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ashtaka-cell.strong .points {
    color: var(--success);
}

.ashtaka-cell.weak .points {
    color: var(--danger);
}

.ashtaka-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Dignity colors */
.dignity-exalted {
    color: var(--success);
    font-weight: 600;
}

.dignity-own-sign {
    color: var(--accent-gold);
    font-weight: 600;
}

.dignity-friendly {
    color: var(--info);
}

.dignity-neutral {
    color: var(--text-secondary);
}

.dignity-enemy {
    color: var(--warning);
}

.dignity-debilitated {
    color: var(--danger);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .kundali-tabs {
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .kundali-tab {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .planets-header,
    .planet-row {
        grid-template-columns: 1.5fr 1fr 0.5fr 0.8fr 1fr 0.8fr;
        font-size: 0.8rem;
        padding: 10px 12px;
    }
    
    .birth-summary {
        gap: 16px;
    }
    
    .chart-cell {
        min-height: 60px;
        padding: 4px;
    }
    
    .chart-planet {
        font-size: 0.7rem;
        padding: 2px 4px;
    }
    
    .predictions-grid {
        grid-template-columns: 1fr;
    }
    
    .months-grid {
        grid-template-columns: 1fr;
    }

    /* Enhanced sections mobile */
    .predictions-section {
        grid-template-columns: 1fr;
    }

    .favorable-grid {
        grid-template-columns: 1fr 1fr;
    }

    .karakas-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ashtakavarga-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .dasha-timeline-grid {
        grid-template-columns: 1fr;
    }

    .nakshatra-info {
        grid-template-columns: 1fr;
    }
}
