/* Bootstrap Primary Color Override - TelcoMigrate Theme */

:root {
    --bs-primary: #f6bb72;
    --bs-primary-rgb: 246, 187, 114;
    --bs-primary-text-emphasis: #e67e22;
    --bs-primary-bg-subtle: #fef9f3;
    --bs-primary-border-subtle: #f8c471;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #f6bb72, #f8c471) !important;
    border-color: #f6bb72 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(246, 187, 114, 0.3) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f39c12, #e67e22) !important;
    border-color: #f39c12 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(246, 187, 114, 0.4) !important;
}

.btn-primary:focus,
.btn-primary.focus {
    background: linear-gradient(135deg, #f39c12, #e67e22) !important;
    border-color: #f39c12 !important;
    box-shadow: 0 0 0 0.2rem rgba(246, 187, 114, 0.5) !important;
}

.btn-primary:active,
.btn-primary.active {
    background: linear-gradient(135deg, #e67e22, #d35400) !important;
    border-color: #e67e22 !important;
}

.btn-primary:disabled,
.btn-primary.disabled {
    background: #f6bb72 !important;
    border-color: #f6bb72 !important;
    opacity: 0.6 !important;
}

/* Primary Outline Button */
.btn-outline-primary {
    color: #f6bb72 !important;
    border-color: #f6bb72 !important;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #f6bb72, #f8c471) !important;
    border-color: #f6bb72 !important;
    color: #fff !important;
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(246, 187, 114, 0.5) !important;
}

.btn-outline-primary:active,
.btn-outline-primary.active {
    background: #f6bb72 !important;
    border-color: #f6bb72 !important;
    color: #fff !important;
}

/* Primary Background */
.bg-primary {
    background: linear-gradient(135deg, #f6bb72, #f8c471) !important;
}

.bg-primary-subtle {
    background-color: #fef9f3 !important;
}

/* Primary Text */
.text-primary {
    color: #f6bb72 !important;
}

.text-primary-emphasis {
    color: #e67e22 !important;
}

/* Primary Border */
.border-primary {
    border-color: #f6bb72 !important;
}

.border-primary-subtle {
    border-color: #f8c471 !important;
}

/* Primary Alert */
.alert-primary {
    background: linear-gradient(135deg, #fef9f3, #ffeaa7) !important;
    border-color: #f8c471 !important;
    color: #e67e22 !important;
}

/* Primary Badge */
.badge.bg-primary {
    background: linear-gradient(135deg, #f6bb72, #f8c471) !important;
    color: #fff !important;
}

/* Primary Progress Bar */
.progress-bar {
    background: linear-gradient(135deg, #f6bb72, #f8c471) !important;
}

/* Primary Link */
a.text-primary:hover,
a.text-primary:focus {
    color: #f39c12 !important;
}

/* Primary Form Controls */
.form-control:focus {
    border-color: #f6bb72 !important;
    box-shadow: 0 0 0 0.2rem rgba(246, 187, 114, 0.25) !important;
}

.form-select:focus {
    border-color: #f6bb72 !important;
    box-shadow: 0 0 0 0.2rem rgba(246, 187, 114, 0.25) !important;
}

.form-check-input:checked {
    background-color: #f6bb72 !important;
    border-color: #f6bb72 !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(246, 187, 114, 0.25) !important;
}

/* Primary Pagination */
.page-link {
    color: #f6bb72 !important;
}

.page-link:hover {
    color: #f39c12 !important;
    background-color: #fef9f3 !important;
    border-color: #f8c471 !important;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #f6bb72, #f8c471) !important;
    border-color: #f6bb72 !important;
    color: #fff !important;
}

/* Primary Dropdown */
.dropdown-item.active,
.dropdown-item:active {
    background: linear-gradient(135deg, #f6bb72, #f8c471) !important;
    color: #fff !important;
}

/* Primary Nav Pills */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background: linear-gradient(135deg, #f6bb72, #f8c471) !important;
    color: #fff !important;
}

/* Primary List Group */
.list-group-item.active {
    background: linear-gradient(135deg, #f6bb72, #f8c471) !important;
    border-color: #f6bb72 !important;
    color: #fff !important;
}

/* Primary Spinner */
.spinner-border.text-primary {
    color: #f6bb72 !important;
}

/* Primary Toast */
.toast-header .text-primary {
    color: #f6bb72 !important;
}

/* Primary Card Header */
.card-header.bg-primary {
    background: linear-gradient(135deg, #f6bb72, #f8c471) !important;
    border-color: #f6bb72 !important;
    color: #fff !important;
}

/* Primary Table */
.table-primary {
    background-color: #fef9f3 !important;
    border-color: #f8c471 !important;
}

.table-primary th,
.table-primary td {
    border-color: #f8c471 !important;
}

/* Primary Accordion */
.accordion-button:not(.collapsed) {
    background-color: #fef9f3 !important;
    color: #e67e22 !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(246, 187, 114, 0.25) !important;
}

/* Primary Offcanvas */
.offcanvas-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Primary Modal */
.modal-header.bg-primary {
    background: linear-gradient(135deg, #f6bb72, #f8c471) !important;
    color: #fff !important;
}

/* Primary Carousel */
.carousel-indicators [data-bs-target] {
    background-color: #f6bb72 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(0.5) sepia(1) saturate(5) hue-rotate(25deg);
}