.cai-score-detail-title {
    font-size: 32px;
}

.cai-text-title {
    font-size: 40px;
}

.cai-nav {
    padding: 15px 25px !important;
    color: black !important;
}

#nav-tab {
    gap: 20px;
    border: none !important;
}

button.cai-nav {
    border-radius: 15px 15px 0px 0px !important;
}

button.cai-nav:not(.active) {
    background-color: #fde8a6 !important;
    color: black !important;
}

button.cai-nav:is(.active) {
    border: none !important;
}

#nav-tabContent {
    padding: 2rem !important;
    background: white;
    border-radius: 0px 15px 30px 30px !important;
}

.cai-score-card-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding-right: 10px !important;
}

.cai-score-meta-title-content {
    background-color: #fde8a6;
    padding: 1.5rem 1.5rem 0rem 1.5rem !important;
    border-radius: 15px;
}

.cai-boost-meta-percent {
    top: -50%;
    position: relative;
    font-size: 1.3rem;
}

.cai-nav-content-title {
    font-size: 25px;
    font-weight: 500;
}

.cai-nav-content-text {
    padding-right: 3rem !important;
}

/* Table style */
#myTableTitle {
    background-color: white !important;
}

table.dataTable thead tr {
    border: 2px solid black !important;
}

table .cai-th-first-child {
    border-left: 2px solid black !important;
    border-top: 2px solid black !important;
    border-bottom: 2px solid black !important;
    border-radius: 15px 0px 0px 15px;
    background-color: #d3deff !important;
}

table .cai-th-middle-child {
    border-top: 2px solid black !important;
    border-bottom: 2px solid black !important;
    background-color: #d3deff !important;
}

table .cai-th-last-child {
    border-right: 2px solid black !important;
    border-top: 2px solid black !important;
    border-bottom: 2px solid black !important;
    border-radius: 0px 15px 15px 0px;
    background-color: #d3deff !important;
}

table.dataTable tbody tr td .cai-first-child {
    border-left: 2px solid #d3deff !important;
    border-top: 2px solid #d3deff !important;
    border-bottom: 2px solid #d3deff !important;
}

table.dataTable tbody tr td .cai-middle-child {
    border-top: 2px solid #d3deff !important;
    border-bottom: 2px solid #d3deff !important;
}

table.dataTable tbody tr td .cai-last-child {
    border-right: 2px solid #d3deff !important;
    border-top: 2px solid #d3deff !important;
    border-bottom: 2px solid #d3deff !important;
}

table.dataTable tbody tr:is(.odd) td {
    background-color: #eef3ff !important;
}

table.dataTable {
    border-collapse: separate;
    border-spacing: 0 10px !important;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

table.dataTable thead {
    color: #1a1a2e;
    font-weight: bold;
}

table.dataTable th,
table.dataTable td {
    padding: 12px 16px;
    border: none;
    text-align: left;
    vertical-align: middle;
}

/* Alternating row background */
table.dataTable tbody tr {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

table.dataTable tbody tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

table.dataTable tbody tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Pagination */
.dataTables_paginate {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dataTables_paginate .paginate_button {
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: white;
    cursor: pointer;
}

.dataTables_paginate .paginate_button.current {
    background-color: #9db9f5;
    font-weight: bold;
}

.dataTables_info {
    margin-top: 15px;
    text-align: left;
    color: #333;
}

/* Icons (green/red check) */
.optim-icon {
    font-size: 20px;
}

.optim-icon.success {
    color: green;
}

.optim-icon.error {
    color: red;
}

#id-current-boost {
    float: right;
    top: -40px;
    position: relative;
    font-size: 20px;
    font-weight: 500;
}

#myTableTitle tr th:nth-child(2) {
    width: 15% !important;
    text-align: center;
}

#myTableTitle tr th:nth-child(3) {
    width: 15% !important;
    text-align: center;
}

#myTableTitle tr td:nth-child(2) {
    text-align: center;
}

#myTableTitle tr td:nth-child(3) {
    text-align: center;
}

#myTableDescription tr th:nth-child(2) {
    width: 15% !important;
    text-align: center;
}

#myTableDescription tr th:nth-child(3) {
    width: 15% !important;
    text-align: center;
}

#myTableDescription tr td:nth-child(2) {
    text-align: center;
}

#myTableDescription tr td:nth-child(3) {
    text-align: center;
}

#myTableKeywords tr th:nth-child(2) {
    width: 15% !important;
    text-align: center;
}

#myTableKeywords tr th:nth-child(3) {
    width: 15% !important;
    text-align: center;
}

#myTableKeywords tr td:nth-child(2) {
    text-align: center;
}

#myTableKeywords tr td:nth-child(3) {
    text-align: center;
}

#id-boosted {
    font-size: 14px !important;
}

.cai-fs-12 {
    font-size: 12px !important;
}

.cai-go-pro-btn {
    background-color: white !important;
    padding: 1rem 1.5rem !important;
    border-radius: 30px !important;
    border: 2px solid black !important;
    box-shadow: 0px 5px;
    font-weight: 600 !important;
    margin-left: auto;
    display: flex;
    align-items: center;
    max-width: max-content;
}

@media screen and (max-width: 1440px) {
    .cai-score-detail-title {
        font-size: 26px;
    }

    .cai-nav-content-title {
        font-size: 22px;
    }

    .cai-go-pro-btn-text {
        font-size: 12px;
    }
}