:root {
    --primary-color: #ff9933;
    --secondary-color: #8a5a44;
    --accent-color: #f8c537;
    --light-color: #f9f7f3;
    --dark-color: #333333;
    --text-color: #444444;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header_one {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

ul {
    padding-left: 0 !important;
}

.subtitle {
    color: var(--secondary-color);
    font-style: italic;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
}

.input-section {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

input,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--primary-color);
}

.result-section {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.chart-container {
    margin-top: 30px;
    position: relative;
    height: 500px;
}

.chart {
    width: 100%;
    height: 100%;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fafafa;
}

#chartSvg {
    width: 100%;
    height: 100%;
}

.planet-positions {
    margin-top: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: var(--primary-color);
    color: white;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.aspects {
    margin-top: 30px;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.sign-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.error-message {
    color: #d32f2f;
    background-color: #fde8e8;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: none;
}



.sign-label {
    font-size: 10px;
    text-anchor: middle;
    font-weight: bold;
}

.house-line {
    stroke: #ddd;
    stroke-width: 1;
}

.planet-marker {
    stroke: #333;
    stroke-width: 1;
}

.planet-label {
    font-size: 8px;
    text-anchor: middle;
}

.aspect-line {
    stroke: #ff6b6b;
    stroke-width: 1;
    stroke-dasharray: 3, 3;
}