/*================================================================================
	Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template
	Version: 2.0
	Author: PIXINVENT
	Author URL: http://www.themeforest.net/user/pixinvent
================================================================================

NOTE:
------
PLACE HERE YOUR OWN SCSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.  */

.main-menu .navigation li.has-sub > a {
    position: relative;
    padding-right: 2.5rem;
}

.main-menu .navigation li.has-sub > a::after {
    content: '';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    width: 6px;
    height: 6px;
    border: 2px solid currentColor;
    border-top: 0;
    border-left: 0;
    transform: translateY(-50%) rotate(-45deg);
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.main-menu .navigation li.has-sub.open > a::after {
    transform: translateY(-50%) rotate(45deg);
}

/* Unify top-right action buttons (Export + Add) across index pages */
.card .card-header .header-action-buttons,
.card .card-header .d-flex.align-items-center.flex-wrap.justify-content-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.card .card-header .header-action-buttons > .btn-group {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
}

.card .card-header .header-action-buttons > *,
.card .card-header .d-flex.align-items-center.flex-wrap.justify-content-end > * {
    margin: 0 !important;
}

.card .card-header [id$='-table-buttons'] {
    display: flex;
    align-items: center;
    margin: 0 !important;
}

.card .card-header [id$='-table-buttons'] .dt-buttons {
    display: flex;
    align-items: center;
    margin: 0 !important;
}

.card .card-header .header-action-buttons .btn,
.card .card-header .header-action-buttons .btn-group .btn,
.card .card-header .d-flex.align-items-center.flex-wrap.justify-content-end > .btn,
.card .card-header [id$='-table-buttons'] .dt-buttons .btn {
    min-height: 42px;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
}

/* Global Excel export button style = production index Export Excel button */
a.btn[href*='/export'],
button.btn[id*='export'],
.dt-buttons .buttons-excel,
.dt-buttons .btn.btn-outline-primary,
.dt-buttons .btn.btn-secondary,
.dt-buttons .btn.btn-success {
    color: #28c76f !important;
    border-color: #28c76f !important;
    background-color: transparent !important;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
}

a.btn[href*='/export']:hover,
button.btn[id*='export']:hover,
.dt-buttons .buttons-excel:hover,
.dt-buttons .btn.btn-outline-primary:hover,
.dt-buttons .btn.btn-secondary:hover,
.dt-buttons .btn.btn-success:hover,
a.btn[href*='/export']:focus,
button.btn[id*='export']:focus,
.dt-buttons .buttons-excel:focus,
.dt-buttons .btn.btn-outline-primary:focus,
.dt-buttons .btn.btn-secondary:focus,
.dt-buttons .btn.btn-success:focus,
a.btn[href*='/export']:active,
button.btn[id*='export']:active,
.dt-buttons .buttons-excel:active,
.dt-buttons .btn.btn-outline-primary:active,
.dt-buttons .btn.btn-secondary:active,
.dt-buttons .btn.btn-success:active,
.dt-buttons .buttons-excel.active,
.dt-buttons .btn.btn-outline-primary.active,
.dt-buttons .btn.btn-secondary.active,
.dt-buttons .btn.btn-success.active {
    color: #ffffff !important;
    border-color: #28c76f !important;
    background-color: #28c76f !important;
}

a.btn[href*='/export']:focus,
button.btn[id*='export']:focus,
.dt-buttons .buttons-excel:focus,
.dt-buttons .btn.btn-outline-primary:focus,
.dt-buttons .btn.btn-secondary:focus,
.dt-buttons .btn.btn-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 199, 111, 0.25) !important;
}
