/* Complete Kundali Page Styles */

.complete-kundali-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Kundali Header */
.kundali-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.welcome-section h1.kundali-title {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.kundali-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.quick-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 150px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Main Chart Section */
.main-chart-section {
    margin-bottom: 2rem;
}

.chart-card-large {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-title {
    font-size: 1.8rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.chart-actions-header {
    display: flex;
    gap: 0.75rem;
}

.btn-action {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-icon {
    font-size: 1rem;
}

.main-chart-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.chart-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
}

/* Analysis Tabs Container */
.analysis-tabs-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.tab-navigation {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 1rem;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.tab-btn:hover {
    background: #f8f9fa;
    color: #495057;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tab-content-container {
    min-height: 400px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Panchang Content */
.panchang-content h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.panchang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.panchang-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.panchang-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panchang-value {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

/* Planetary Content */
.planetary-content h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.planets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.planet-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.planet-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.planet-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.planet-icon {
    font-size: 2rem;
}

.planet-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.planet-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.planet-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.planet-detail .label {
    font-weight: 500;
    color: #6c757d;
}

.planet-detail .value {
    font-weight: 600;
    color: #333;
}

/* Yogas Content */
.yogas-content h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.yogas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.yoga-card {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #c7d2fe;
    transition: all 0.3s ease;
}

.yoga-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.yoga-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4338ca;
    margin-bottom: 0.5rem;
}

.yoga-description {
    color: #4338ca;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.yoga-planets {
    color: #4338ca;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Doshas Content */
.doshas-content h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.doshas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.dosha-card {
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid;
}

.dosha-card.dosha-present {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-color: #dc3545;
    color: #721c24;
}

.dosha-card.dosha-absent {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #28a745;
    color: #155724;
}

.dosha-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dosha-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dosha-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dosha-status {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.dosha-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Divisional Charts Content */
.divisional-content h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.divisional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.divisional-chart-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.divisional-chart-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.chart-type {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.chart-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.chart-ascendant {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.chart-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.btn-view-chart {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-view-chart:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Numerology Content */
.numerology-content h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.numerology-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    color: #6c757d;
}

.numerology-results {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.numerology-summary {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.numerology-summary h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.numerology-summary p {
    margin-bottom: 0.5rem;
    color: #495057;
}

.numerology-details {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.numerology-details h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.numerology-analysis {
    color: #495057;
    line-height: 1.6;
}

/* Additional Features */
.additional-features {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.additional-features h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    color: #333;
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #333;
}

.modal-body {
    color: #495057;
}

.chart-details h4,
.planetary-positions h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.chart-details p {
    margin-bottom: 0.5rem;
}

.planets-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.planet-position {
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.planet-name {
    font-weight: 600;
    color: #333;
}

.planet-sign {
    color: #667eea;
    font-weight: 500;
}

.planet-degree {
    color: #6c757d;
    font-size: 0.9rem;
}

/* No Data State */
.no-data {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #dee2e6;
}

/* Panchang Sections */
.panchang-section {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.panchang-section h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

/* Planetary Table */
.planetary-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.planetary-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.planetary-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.planetary-table th,
.planetary-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.planetary-table th {
    font-weight: 600;
    font-size: 0.9rem;
}

.planetary-table td {
    font-size: 0.9rem;
}

.planetary-table tbody tr:hover {
    background: #f8f9fa;
}

.lagna-row {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%) !important;
    font-weight: 600;
}

.lagna-details-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    margin-top: 1rem;
}

.lagna-details-section h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.lagna-details p {
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Detailed Yoga Cards */
.yoga-card-detailed {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #c7d2fe;
    transition: all 0.3s ease;
}

.yoga-card-detailed:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.yoga-header {
    margin-bottom: 1rem;
}

.yoga-name {
    color: #4338ca;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.yoga-content p {
    margin-bottom: 0.5rem;
    color: #4338ca;
    line-height: 1.5;
}

.yoga-content strong {
    color: #3730a3;
}

/* Detailed Dosha Cards */
.dosha-card-detailed {
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid;
}

.dosha-card-detailed.dosha-present {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-color: #dc3545;
    color: #721c24;
}

.dosha-card-detailed.dosha-absent {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #28a745;
    color: #155724;
}

.dosha-card-detailed:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dosha-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dosha-header .dosha-icon {
    font-size: 2rem;
}

.dosha-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.dosha-content p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.dosha-content strong {
    font-weight: 600;
}

.dosha-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.dosha-content li {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

/* Existing Chart Notice */
.existing-chart-notice {
    margin-bottom: 2rem;
}

.notice-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid #2196f3;
    text-align: center;
}

.notice-card h3 {
    color: #1976d2;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.notice-card p {
    color: #1976d2;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.notice-card .btn-primary {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.notice-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* Divisional Charts Grid */
.divisional-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.divisional-chart-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.divisional-chart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-type {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.chart-ascendant {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.chart-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.chart-action {
    text-align: center;
}

.btn-view-chart {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-chart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.icon-eye::before {
    content: "👁️";
    font-size: 0.9rem;
}

/* Numerology Styling */
.numerology-content {
    padding: 1rem;
}

.numerology-summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.numerology-summary-card h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.numerology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.numerology-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.number-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.number-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.numerology-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.numerology-section h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.karmic-numbers, .master-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.karmic-number, .master-number {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.master-number {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    color: #333;
}

.pinnacle-numbers, .challenge-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.pinnacle-item, .challenge-item {
    text-align: center;
    background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%);
    border-radius: 10px;
    padding: 1rem;
    color: white;
}

.challenge-item {
    background: linear-gradient(135deg, #ff9ff3 0%, #f368e0 100%);
}

.pinnacle-number, .challenge-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pinnacle-period, .challenge-period {
    font-size: 0.9rem;
    opacity: 0.9;
}

.current-periods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.period-item {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: #333;
}
    .complete-kundali-container {
        padding: 1rem 0.5rem;
    }
    
    .kundali-header {
        padding: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-section h1.kundali-title {
        font-size: 2rem;
    }
    
    .quick-stats {
        justify-content: center;
    }
    
    .stat-card {
        min-width: 120px;
    }
    
    .chart-card-large,
    .analysis-tabs-container,
    .additional-features {
        padding: 1.5rem;
    }
    
    .tab-navigation {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .tab-btn {
        justify-content: center;
    }
    
    .panchang-grid,
    .planets-grid,
    .yogas-grid,
    .doshas-grid,
    .divisional-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .numerology-results {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .planets-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .welcome-section h1.kundali-title {
        font-size: 1.5rem;
    }
    
    .kundali-subtitle {
        font-size: 1rem;
    }
    
    .stat-card {
        min-width: 100px;
        padding: 0.75rem;
    }
    
    .chart-title {
        font-size: 1.5rem;
    }
    
    .chart-actions-header {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
}
