/* IBRA PARTS Brand Color Overrides */
:root {
    --vz-primary: #2B3E50 !important;
    --vz-primary-rgb: 53, 72, 115 !important;
    --vz-primary-text-emphasis: #2a3a5c !important;
    --vz-primary-bg-subtle: rgba(53, 72, 115, 0.1) !important;
    --vz-primary-border-subtle: rgba(53, 72, 115, 0.2) !important;
    --vz-accent: #eb642d !important;
    --vz-accent-rgb: 235, 100, 45 !important;
    --vz-accent-dark: #d4551f !important;
}

/* Button Overrides */
.btn-primary,
.btn.btn-primary,
button.btn-primary {
    background-color: #eb642d !important;
    border-color: #eb642d !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn.btn-primary:hover,
button.btn-primary:hover,
.btn-primary:focus,
.btn.btn-primary:focus,
button.btn-primary:focus,
.btn-primary:active,
.btn.btn-primary:active,
button.btn-primary:active {
    background-color: #d4551f !important;
    border-color: #d4551f !important;
    color: #ffffff !important;
}

/* Text Color Overrides */
.text-primary {
    color: #2B3E50 !important;
}

a.text-primary:hover,
a.text-primary:focus {
    color: #eb642d !important;
}

/* Link Colors */
a {
    color: #2B3E50;
    transition: color 0.3s;
}

a:hover,
a:focus {
    color: #eb642d;
}

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

/* Background Primary */
.bg-primary {
    background-color: #2B3E50 !important;
}

/* Nav Link Active States */
.nav-link.active {
    color: #eb642d !important;
}

.nav-link:hover:not(.active) {
    color: #eb642d !important;
}

.navbar-nav .nav-link.active {
    color: #eb642d !important;
}

/* Form Controls Focus */
.form-control:focus,
.form-select:focus,
.form-control:hover,
.form-select:hover {
    border-color: #eb642d !important;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(235, 100, 45, 0.25) !important;
}

/* Topbar Background */
#page-topbar {
    background-color: #2B3E50 !important;
}

/* Sidebar Active States */
.navbar-menu .nav-link.active {
    color: #eb642d !important;
}

.navbar-menu .nav-link:hover:not(.active) {
    color: #eb642d !important;
}

/* Accordion Primary */
.accordion-primary .accordion-item {
    border-color: rgba(53, 72, 115, 0.2) !important;
}

.accordion-primary .accordion-item .accordion-button:not(.collapsed) {
    color: #eb642d !important;
    background-color: rgba(235, 100, 45, 0.1) !important;
}

/* Badge Primary */
.badge.bg-primary {
    background-color: #2B3E50 !important;
}

/* Progress Bar */
.progress-bar {
    background-color: #eb642d !important;
}

/* Alert Primary */
.alert-primary {
    background-color: rgba(53, 72, 115, 0.1) !important;
    border-color: #2B3E50 !important;
    color: #2B3E50 !important;
}

/* Table Primary */
.table-primary {
    --bs-table-bg: rgba(53, 72, 115, 0.1) !important;
    --bs-table-color: #2B3E50 !important;
}

/* Waves Effect */
.waves-effect.waves-primary .waves-ripple {
    background-color: rgba(53, 72, 115, 0.4) !important;
}

/* Input Group Text Hover */
.input-group-text:hover {
    background-color: rgba(235, 100, 45, 0.1) !important;
    border-color: #eb642d !important;
    color: #eb642d !important;
}

.input-group:focus-within .input-group-text {
    background-color: rgba(235, 100, 45, 0.1) !important;
    border-color: #eb642d !important;
    color: #eb642d !important;
}

.input-group-text i {
    color: #2B3E50;
    transition: color 0.3s;
}

.input-group:hover .input-group-text i,
.input-group:focus-within .input-group-text i {
    color: #eb642d;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.fw-bold {
    color: #2B3E50;
}

/* Card Header */
.card-header {
    color: #2B3E50;
}

/* Dropdown */
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(235, 100, 45, 0.1) !important;
    color: #eb642d !important;
}

/* Pagination */
.page-link {
    color: #2B3E50;
}

.page-link:hover {
    color: #eb642d;
    background-color: rgba(235, 100, 45, 0.1);
    border-color: #eb642d;
}

.page-item.active .page-link {
    background-color: #eb642d !important;
    border-color: #eb642d !important;
}

/* Breadcrumb */
.breadcrumb-item.active {
    color: #2B3E50;
}

.breadcrumb-item a {
    color: #2B3E50;
}

.breadcrumb-item a:hover {
    color: #eb642d;
}

/* Profile Page Styles */
.profile-header {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-cover {
    height: 120px;
    background: #2B3E50 !important;
    position: relative;
}

.profile-card {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.user-profile-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-photo-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    cursor: pointer;
}

.profile-img-file-input {
    display: none;
}

.nav-tabs-custom {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 1rem;
}

.nav-tabs-custom .nav-link {
    font-weight: 500;
    color: #2B3E50 !important;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.nav-tabs-custom .nav-link.active {
    color: #eb642d !important;
    border-bottom: 2px solid #eb642d !important;
    background-color: transparent;
}

.nav-tabs-custom .nav-link:hover:not(.active) {
    color: #eb642d !important;
    border-bottom: 2px solid #e9ecef;
}

.form-label {
    font-weight: 500;
    color: #2B3E50 !important;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid #dcdfe6;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.tab-content {
    padding: 1.5rem 0;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0 !important;
    color: #2B3E50 !important;
}

.avatar-title {
    border-radius: 50%;
    transition: all 0.2s ease;
    color: #2B3E50 !important;
}

.avatar-title:hover {
    background-color: #eb642d !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

.profile-user h5 {
    color: #2B3E50 !important;
}

.alert-info {
    border-color: #eb642d !important;
    background-color: rgba(235, 100, 45, 0.1) !important;
    color: #2B3E50 !important;
}

.alert-info i {
    color: #eb642d !important;
}
