.astrochart-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.astrochart-form-wrapper.elementor-compatible {
    max-width: 100%;
    padding: 0;
}

.astro-form-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #2c3e50;
}

.astrochart-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="date"],
.form-group input[type="time"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.btn-generate {
    background: #2271b1;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.btn-generate:hover {
    background: #135e96;
}

.astro-loader {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.astrochart-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.astrochart-wheel {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

#astroChartWheel {
    max-width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#astroChartWheel svg {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

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

.astrochart-section {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.astrochart-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2271b1;
    border-bottom: 2px solid #2271b1;
    padding-bottom: 10px;
}

.astro-basics {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.astro-item {
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.astro-planets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.astro-planet-item {
    display: grid;
    grid-template-columns: 30px 1fr 150px 80px 30px;
    gap: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
    align-items: center;
}

.planet-symbol {
    font-size: 20px;
    text-align: center;
}

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

.planet-position {
    color: #666;
}

.planet-house {
    color: #999;
    font-size: 14px;
}

.retrograde {
    color: #d63638;
    font-size: 18px;
}

.astro-aspects {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.astro-aspect-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.aspect-type {
    color: #2271b1;
    font-weight: 600;
    padding: 4px 12px;
    background: #e5f2ff;
    border-radius: 4px;
}

.astrochart-interpretations {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.astrochart-interpretations h2 {
    color: #2271b1;
    margin-top: 0;
    border-bottom: 3px solid #2271b1;
    padding-bottom: 15px;
}

.interpretation-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
}

.interpretation-section h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
}

.planet-section {
    border-left: 4px solid #2271b1;
}

.aspect-section {
    border-left: 4px solid #00a32a;
}

.interpretation-subsection {
    margin-bottom: 20px;
}

.interpretation-subsection h4 {
    color: #666;
    margin-bottom: 10px;
    font-size: 16px;
}

.interpretation-content {
    line-height: 1.6;
    color: #444;
}

.interpretation-content p {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .astrochart-data {
        grid-template-columns: 1fr;
    }
    
    .astro-planet-item {
        grid-template-columns: 30px 1fr;
        gap: 8px;
    }
    
    .planet-position,
    .planet-house,
    .retrograde {
        grid-column: 2;
    }
}

.astro-error,
.astro-notice {
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}

.astro-error {
    background: #fef2f2;
    border: 2px solid #dc2626;
    color: #dc2626;
}

.astro-notice {
    background: #eff6ff;
    border: 2px solid #2271b1;
    color: #2271b1;
}

.nav-tab-wrapper {
    margin-bottom: 20px;
}

.astro-interpretation-form,
.astro-interpretations-list,
.astro-city-form,
.astro-cities-list {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.astro-interpretation-form h2,
.astro-interpretations-list h2,
.astro-city-form h2,
.astro-cities-list h2 {
    margin-top: 0;
}
