:root {
    --bs-link-color: #04BE8C !important;
    --bs-pagination-active-bg: #04BE8C !important;
    --bs-pagination-active-border-color: #04BE8C !important;
    /*--bg-light: #f4f7fa;
    --bg-surface: #ffffff;
    --text-primary: #1e1e2f;
    --text-secondary: #4a4e69;
    --accent-cyan: #00d4ff;
    --accent-mint: #64ffda;
    --border-light: #dce3ea;
    --shadow-light: rgba(0, 0, 0, 0.04);*/
}

.active > .page-link, .page-link.active {
    background-color: #04BE8C;
    border-color: #04BE8C;
}

.page-link:hover {
    color: #FFF;
    background-color: rgba(4, 190, 140, 0.4);
    border-color: rgba(4, 190, 140, 0.4);
}
.page-link{
    box-shadow: none !important;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    /*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #04BE8C;*/
    border-color: #04BE8C;
    box-shadow:none;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Layout Utility */
.section-title {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.25rem;
}

/* Audio Player Styling */
audio {
    width: 100%;
    border-radius: 6px;
    padding: 8px;
    background-color: #f8f9fa;
}

/* Call Tag Card */
.call-tag-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 1rem;
    background-color: #fdfdfd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

    .call-tag-card:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

.call-tag-title {
    font-weight: bold;
    font-size: 1rem;
    color: #0d6efd;
}

.call-tag-score {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Tag Category Headings */
.tag-category {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #343a40;
}

/* Transcription and Summary Sections */
.transcription, .summary {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem;
    background-color: #fff;
    line-height: 1.5;
    font-size: 0.95rem;
    white-space: pre-wrap;
}

.transcription {
    background-color: #fefefe;
}

.summary {
    background-color: #f8f9fa;
}

/* Call Details Table */
.call-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

    .call-details-table th,
    .call-details-table td {
        padding: 0.75rem;
        border: 1px solid #dee2e6;
    }

    .call-details-table th {
        background-color: #f1f3f5;
        text-align: left;
    }

/* Responsive Grid Overrides (if needed) */
@media (max-width: 576px) {
    .call-tag-card {
        font-size: 0.9rem;
    }
}

.card-section {
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.call-tag-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.3s ease;
}

    .call-tag-card:hover {
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }

.call-tag-title {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.call-tag-score {
    font-size: 0.9rem;
    color: #777;
}

.scroll-box {
    max-height: 250px;
    overflow-y: auto;
    background-color: rgb(249,249,249);
    padding: 12px;
    border-radius: 6px;
}


/* NEW CSS */

.pagelabel {
    font-size: 20px;
    font-weight: 600;
    margin: 15px 0px;
    float: left;
    width: 100%;
}

.browesfiles {
    background-color: #F7F7F7;
    border: 2px dashed #04BE8C;
    border-radius: 13px;
    padding: 15px;
    min-height: 150px;
    width: 100%;
}

    .browesfiles .icon-files {
        background-color: #fff;
        border: 1px solid #E5E5E5;
        border-radius: 6px;
        width: 36px;
        height: 36px;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #828282;
    }

    .browesfiles .label-upload {
        color: #04BE8C;
        font-weight: 600;
        font-size: 13px;
    }

    .browesfiles .sub-label-upload {
        color: #9C9AA2;
        font-size: 12px;
    }

.plwrap {
    width: 60%;
}

.plcard {
    border: 1px solid rgb(249, 249, 249);
    border-radius: 4px;
    padding: 10px;
    background-color: #fff;
    float: left;
    width: 100%;
    margin-bottom: 15px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

    .plcard .plhead {
        font-size: 14px;
        color: #172A41;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .plcard .custom-w {
        width: 50%;
    }

    .plcard .plicon {
        width: 33px;
        height: 33px;
        border: 1px solid rgba(4, 190, 140, 1);
        border-radius: 50%;
        background-color: rgba(4, 190, 140, 0.1);
        float: left;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
    }

    .plcard .htitle {
        display: flex;
        align-items: center;
    }

.tcolor {
    color: rgba(4, 190, 140, 1);
}

.sentistatus {
    background-color: #ECFDF3;
    border: 1px solid #D9F3E8;
    border-radius: 7px;
    color: #086747;
    padding: 2px 5px;
    font-size: 11px;
    height: 22px;
    min-width: 92px;
}

.bdr-right {
    border-right: 1px solid #DADADA;
    padding-right: 15px;
    margin-right: 10px;
}

.txt-dark {
    color: #172A41;
    font-size: 10px;
}

.txt-gray {
    color: rgba(23, 42, 65, 0.65);
    font-size: 13px;
}

.bg-player {
    background: #f7f7f7;
    border-radius: 6px;
    padding: 10px;
}

.font-13 {
    font-size: 13px;
}

.font-14 {
    font-size: 14px;
}

.font-8 {
    font-size: 8px;
}

.min-h-80 {
    min-height: 85px;
}
div#tabs-parameter {
    border-color: #e9ecef;
}

.plhead-border {
    padding: 10px 10px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0px !important;
}

.plcard-bg {
    background-color: rgb(249,249,249);
}

.transwrap {
    width: 40%;
}

.text-trans {
    color: rgba(23, 42, 65, 0.65);
}

.mr-3 {
    margin-right: 15px
}

.mr-2 {
    margin-right: 10px;
}
.mr-2 {
    margin-right: 5px;
}

.pl-2 {
    padding-left: 0.5rem !important
}
.pr-2{
    padding-right: 0.5rem !important;
}

/*Table*/

/* Container padding */
.dataTables_wrapper {
    padding: 4px;
    font-family: 'Segoe UI', sans-serif;
}

/* Table styling */
table.dataTable {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

    table.dataTable thead {
        background-color: #f8f8f8;
    }

        table.dataTable thead th {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            border-bottom: none;
            padding: 12px 10px;
        }

    table.dataTable tbody td {
        font-size: 14px;
        color: #333;
        padding: 12px 10px;
        border-top: 1px solid #f0f0f0;
        border-bottom-width: 0;
    }
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    padding: 0.5em 0.75em;
    font-size: .9em;
}

    /* Action icons */
    table.dataTable td .fa-eye,
    table.dataTable td .fa-trash {
        color: #3a3a3a;
        font-size: 16px;
        margin: 0 6px;
        cursor: pointer;
        transition: color 0.2s;
    }

        table.dataTable td .fa-eye:hover,
        table.dataTable td .fa-trash:hover {
            color: #1d4ed8;
        }

/* Pagination */
.dataTables_paginate {
    text-align: right;
    margin-top: 10px;
}
    .dataTables_paginate .paginate_button:not(.next),
    .dataTables_paginate .paginate_button:not(.previous){
        border-radius: 0;
    }

    .dataTables_paginate .paginate_button {
        font-size: 13px;
        /*padding: 6px 10px;*/
        margin: 2px;
        border: none;
        background-color: transparent;
        color: #666;
    }

        .dataTables_paginate .paginate_button.current,
        .dataTables_paginate .paginate_button:not(.disabled):hover > .page-link {
            background-color: #04BE8C;
            color: #fff !important;
        }

/* Length dropdown */
.dataTables_length {
    font-size: 13px;
    margin-top: 10px;
}

/* Search box */
.dataTables_filter input {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
}

/* Remove info underline */
.dataTables_info {
    font-size: 12px;
    color: #888;
    padding-top: 10px;
}

/* Make table responsive with icon alignment */
@media screen and (max-width: 768px) {
    table.dataTable td {
        font-size: 13px;
    }

    .dataTables_filter,
    .dataTables_length,
    .dataTables_info,
    .dataTables_paginate {
        text-align: center;
    }
}

.anch-btn {
    color: rgba(43, 43, 43, .8);
    border-radius:4px;
    border: 1px solid rgba(4, 190, 140, .2);
    padding: 4px 12px;
    text-decoration: none;
    background-color: rgba(4, 190, 140, .2);
    
}

    .anch-btn:hover, .anch-btn.active {
        cursor: pointer;
        color: #FFF;
        background-color: rgba(4, 190, 140, 0.8);
        border-color: rgba(4, 190, 140, .8);
    }

    .anch-btn:disabled {
        cursor: not-allowed;
        color: #fafafa !important;
        background-color: #ebebeb !important;
        border-color: #ebebeb !important;
    }

    .font-12{
        font-size: 12px;
    }

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border-color: rgb(249,249,249);
    background: rgb(249,249,249);
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border-color: #F2F2F2;
    background: #F2F2F2;
}

.ui-widget-header{
    background: transparent;
}

.truncate-cell {
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.badge {
    border-radius: 2px;
    font-weight: 600;
}
.header-top > h6 {
    color: rgba(4, 190, 140, 1);
}

tr.filter-row th {
    background-color: rgba(0, 0, 0, 0.15);
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

/* for modifying the background colour of Processing... message box */
.dataTables_processing {
    background-color: rgba(4, 190, 140, 0.1) !important;
    border-color: rgba(4, 190, 140, 1) !important;
}