@media (max-width: 992px) {
    .border-frame {
        margin: 20px;
        border-width: 30px;
    }
}

@media (max-width: 576px) {
    .border-frame {
        margin: 10px;
        border-width: 20px;
    }
}


.header {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    color: #800000;
    padding: 8px;
    border-bottom: 2px solid #ccc;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f9f9f9;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
}

.top-row .left {
    color: red;
    font-weight: bold;
}

.top-row .right {
    color: #800000;
    font-weight: bold;
}

/* Main Layout */
.main {
    display: flex;
    border: 1px solid #ccc;
    flex-wrap: wrap;
}

.left-section,
.right-section {
    width: 100%;
    padding: 10px;
}

@media (min-width: 769px) {
    .left-section {
        width: 70%;
    }

    .right-section {
        width: 30%;
        border-left: 1px solid #ccc;
        text-align: center;
    }
}

.right-section img {
    width: 100%;
    max-width: 260px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.bio-title,
.expect-title {
    background: #cfe2ff;
    padding: 5px;
    font-weight: bold;
    font-size: 16px;
    color: green;
    margin-top: 10px;
}

.bio-title {
    color: #000;
    margin-top: 0;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 15px;
}

.search table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    min-width: 400px;
}

.search th,
.search td {
    border: 1px solid #ccc;
    padding: 6px 10px;
    font-size: 14px;
}

.search th {
    background: #f0f0f0;
    text-align: center;
}

.search td:first-child {
    /* width: 35%; */
    color: green;
    font-weight: bold;
}

@media (max-width: 576px) {

    .search th,
    .search td {
        font-size: 12px;
        padding: 5px;
    }

    .search table {
        min-width: 320px;
    }
}

/* Horoscope */
.horoscope-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.horoscope-box table {
    width: 220px;
    height: 220px;
    border: 2px solid #000;
    text-align: center;
}

.horoscope-box td {
    border: 1px solid #000;
}
.photo-btn.active {
    background-color: #007bff;  /* blue for active */
    color: #fff;
    border-color: #007bff;
}

#btn-2.active {
    background-color: #28a745; /* green for button 2 */
    border-color: #28a745;
}
.astro-table{
    width: 100%;             /* Fill the cell width */
    max-width: 100px;         /* Limit size on big screens */
    height: 70px;            /* Adjust height */
    border: 1px solid rgba(56, 56, 57, 0.48);
    background-color: #eaf2fc;
    text-align: center;
    font-size: 13px;
}
.horo-box{
    width:100px;
    text-align:center;
    vertical-align:middle;
    height:40px;
    font-size:13px;
    border:1px solid rgba(56, 56, 57, 0.48);
    background-color:#eaf2fc;
}
