/* Custom styles for Tenex Search application */

body {
    font-family: 'Montserrat', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    font-weight: 400;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.display-4 {
    font-weight: bold;
    color: #22904d;
}

.bg-my-primary {
    background-color: #22904d;
}


.table {
    font-size: 0.80rem;
}

.table-head-custom th {
    background-color: #22904d;
    color: white;
}

.btn-custom {
    --bs-btn-color: #ffffff;
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-color: #fff;
    --bs-btn-hover-color: #fff;

    --bs-btn-bg: #22904d;
    --bs-btn-border-color: #22904d;

    /* lighter */
    --bs-btn-hover-bg: #1da250;
    --bs-btn-hover-border-color: #1da250;

    --bs-btn-focus-shadow-rgb: 13, 110, 253;

    --bs-btn-active-bg: #22904d;
    --bs-btn-active-border-color: #22904d;

    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);

    --bs-btn-disabled-bg: #22904d;
    --bs-btn-disabled-border-color: #22904d;

    --bs-gradient: none;
    /* border: 1px solid #ff6c3c; */
}

.btn-custom-clear {
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-color: #eee;

    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);

    --bs-btn-bg: #4f4b4b;
    --bs-btn-border-color: #4f4b4b;

    --bs-btn-hover-bg: #373434;
    --bs-btn-hover-border-color: #373434;

    --bs-btn-active-bg: #373434;
    --bs-btn-active-border-color: #373434;

    --bs-btn-disabled-bg: #373434;
    --bs-btn-disabled-border-color: #373434;
}


.br-0 {
    border-radius: 0;
}

.br-3 {
    border-radius: 3px;
}

.brr-3 {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.brl-3 {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.excel-icon {
    width: 1rem;
    height: 1rem;
    margin-bottom: 2px;
}

.btn-width {
    width: 120px;
}

.rounded-table-corners {
    border-radius: 3px;
    overflow: hidden;
}

.download-button {
    display: inline-block;
    align-content: center;
    justify-content: center;
    text-align: center;
    width: 240px;
    background-color: white;
    border: 1px solid #4CAF50;
    color: #4CAF50;
    text-decoration: none;
    cursor: pointer;
    height: 40px;
}

.download-button:hover {
    background-color: #4CAF50;
    color: white;
}

/* ========== Deals Pipeline Styles ========== */

/* Summary Card styling */
.summary-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.summary-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
}

.summary-card .card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

.summary-card .card-text {
    color: #6c757d;
    margin-bottom: 0;
}

.summary-card .text-percent {
    font-weight: 600;
}

/* Text styling */
.text-percent {
    font-style: italic;
    color: #6c757d;
}

/* Card hover effect */
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.card {
    transition: all 0.3s;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Table styling */
.table-container {
    overflow-x: auto;
}

.table th,
.table td {
    white-space: nowrap;
}

/* Form styling */
.filter-section {
    margin-bottom: 20px;
}

/* Add styling for multiselect to match other select elements height */
select[multiple] {
    height: 38px !important;
    overflow-y: hidden;
}

select[multiple]:focus {
    height: auto !important;
    min-height: 38px;
    max-height: 200px;
    overflow-y: auto;
}

/* Sorting styles */
.sortable {
    cursor: pointer;
}

.sortable:after {
    content: "\F282"; /* Bootstrap Icons: arrow-down-up */
    font-family: "bootstrap-icons";
    margin-left: 5px;
    color: #ccc;
}

.sortable.asc:after {
    content: "\F148"; /* Bootstrap Icons: arrow-up */
    color: #007bff;
}

.sortable.desc:after {
    content: "\F145"; /* Bootstrap Icons: arrow-down */
    color: #007bff;
}