/* Same as previous version with small tweaks to chart text */

.bk-kundli-wrapper {
    max-width: 1050px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.bk-kundli-header h1 {
    text-align: center;
    margin-bottom: 5px;
}

.bk-kundli-subtitle {
    font-size: 14px;
    color: #555;
    text-align: center;
}

.bk-kundli-box {
    border: 1px solid #ddd;
    padding: 25px 25px 30px;
    margin-top: 20px;
    background: #fff;
}

.bk-kundli-title {
    text-align: center;
    margin-bottom: 20px;
}

.bk-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px 12px;
}

.bk-col-12 { width: 100%; padding: 0 8px; }
.bk-col-6  { width: 50%; padding: 0 8px; }
.bk-col-4  { width: 33.3333%; padding: 0 8px; }

@media (max-width: 768px) {
    .bk-col-6, .bk-col-4 {
        width: 100%;
    }
}

.bk-label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.bk-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

.bk-gender-toggle {
    display: flex;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #ccc;
}

.bk-gender-btn {
    flex: 1;
    padding: 8px 0;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 14px;
}

.bk-gender-btn.active {
    background: #ffdd55;
    color: #000;
}

.bk-actions-row {
    align-items: center;
    margin-top: 20px;
}

.bk-actions-center {
    text-align: center;
}

.bk-actions-right {
    text-align: right;
}

.bk-btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
    border: none;
}

.bk-btn-outline {
    border: 1px solid #ffcc33;
    background: #fff;
    color: #d09900;
    margin-right: 6px;
}

.bk-btn-primary {
    background: #003366;
    color: #fff;
}

.bk-btn-primary:hover {
    background: #00264d;
}

.bk-kundli-result {
    margin-top: 25px;
}

/* Tabs */

.bk-tabs {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
}

.bk-tab {
    padding: 8px 18px;
    border: 1px solid #ddd;
    border-bottom: none;
    margin-right: 4px;
    cursor: pointer;
    background: #f8f8f8;
    border-radius: 4px 4px 0 0;
    font-size: 13px;
}

.bk-tab.active {
    background: #ffdd55;
    font-weight: 600;
}

.bk-tab-content {
    border: 1px solid #ddd;
    border-top: none;
    padding: 15px;
}

/* Tables */

.bk-kundli-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.bk-kundli-table th,
.bk-kundli-table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    text-align: left;
    font-size: 12px;
}

.bk-kundli-table th {
    background: #fafafa;
    font-weight: 600;
}

/* Two-column blocks */

.bk-flex-two {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.bk-box {
    flex: 1;
    min-width: 260px;
    border: 1px solid #ddd;
    padding: 10px 12px;
    border-radius: 3px;
}

.bk-box-title {
    font-weight: 600;
    margin-bottom: 8px;
}

/* Chart boxes */

.bk-chart-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.bk-chart-box {
    width: 180px;
    height: 180px;
    border: 1px solid #ddd;
    position: relative;
    background: #fdf7e6;
    font-size: 11px;
}

.bk-chart-inner {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    padding: 4px;
}

.bk-chart-box:before,
.bk-chart-box:after {
    content: "";
    position: absolute;
    border: 1px solid #eee;
}

.bk-chart-box:before {
    top: 0;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.bk-chart-box:after {
    left: 0;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.bk-chart-label {
    position: absolute;
    top: 2px;
    left: 6px;
    font-size: 11px;
    font-weight: 600;
}

/* Paragraph sections */

.bk-section-title {
    font-weight: 600;
    margin-top: 14px;
    margin-bottom: 4px;
}

.bk-note {
    margin-top: 10px;
    font-size: 11px;
    color: #777;
}
