.btn.btn-success,
.btn.btn-success:hover,
.btn.btn-success:focus,
.btn.btn-success:active {
    color: #fff !important;
}

.verde { color: #5cb85c !important; }
.arancio { color: #f0ad4e !important; }
.rosso { color: #d9534f !important; }
.viola { color: #7a5ccf !important; }

.btn.btn-purple,
.btn.btn-purple:hover,
.btn.btn-purple:focus,
.btn.btn-purple:active {
    background: #7a5ccf !important;
    border-color: #6b51b8 !important;
    color: #fff !important;
}

.img-card-placeholder {
    width: 140px;
    height: 120px;
    border: 2px dashed #5cb85c;
    border-radius: 6px;
    background: #f1fdf4;
}

.section-title-red {
    color: #d9534f;
    text-align: center;
    font-weight: 700;
    margin: 30px 0 16px;
    letter-spacing: 0.5px;
}
.section-title-red::before,
.section-title-red::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 22%;
    height: 1px;
    background: #f2b7b2;
    margin: 0 10px;
}
.section-title-red i {
    margin-right: 6px;
}

.section-soft {
    background: #f2fbf4;
    border: 1px solid #cfe9d6;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.input-date-short {
    max-width: 220px;
}

.btn-action {
    color: #fff !important;
    padding: 6px 12px;
    font-size: 13px;
    min-width: 110px;
    text-align: center;
}

.btn-action.btn-default {
    color: #333 !important;
    border: 1px solid #bbb;
}

.edit-page .section-soft {
    background: #fff3e6;
    border-color: #f2d3b8;
}

.actions-cell .btn-action {
    border: 1px solid rgba(0,0,0,0.15);
    transition: transform .12s ease, box-shadow .12s ease;
}
.actions-cell .btn-action:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}
.actions-cell .btn-action i {
    font-size: 16px;
}

.icon-only { position: relative; }
.icon-only[data-tooltip]:hover::after,
.action-icon[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, -6px);
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 9999;
}
.icon-only[data-tooltip]:hover::before,
.action-icon[data-tooltip]:hover::before {
    content: ;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, 2px);
    border: 6px solid transparent;
    border-top-color: #333;
}

.actions-cell { overflow: visible; position: relative; }
.actions-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.actions-cell form { display: inline; margin: 0; }

.actions-cell .btn-action { overflow: visible; }
.actions-cell .icon-only { display: inline-block; position: relative; }

.navbar-top-links .dropdown-toggle,
.navbar-top-links .dropdown-toggle .fa {
    color: #fff !important;
}

.navbar-top-links .open > .dropdown-toggle {
    background: #d9534f !important;
    color: #fff !important;
}
.navbar-top-links .open > .dropdown-toggle .fa {
    color: #fff !important;
}

.navbar-top-links .dropdown-toggle:hover,
.navbar-top-links .dropdown-toggle:focus {
    background: #d9534f !important;
    color: #fff !important;
}
.navbar-top-links .dropdown-toggle:hover .fa,
.navbar-top-links .dropdown-toggle:focus .fa {
    color: #fff !important;
}

.dropdown-user {
    min-width: 180px;
}
.dropdown-user li > form {
    display: block;
}
.dropdown-user li > form .btn-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px 10px 18px;
    color: #333 !important;
    text-decoration: none;
}
.dropdown-user li > form .btn-link:hover,
.dropdown-user li > form .btn-link:focus {
    background: #fff3e6;
    color: #d9534f !important;
    text-decoration: none;
}
.dropdown-user li > form .btn-link .fa {
    color: #d9534f !important;
}
.dropdown-user li > form .btn-link:hover .fa,
.dropdown-user li > form .btn-link:focus .fa {
    color: #d9534f !important;
}
/* Sidebar zebra + active highlight */
#side-menu > li > a {
    position: relative;
}
#side-menu > li:nth-child(odd) > a {
    background: #f9f9f9;
}
#side-menu > li:nth-child(even) > a {
    background: #ffffff;
}
#side-menu > li > a:hover {
    background: #f1f1f1;
}
#side-menu > li.active > a,
#side-menu > li.active > a:focus,
#side-menu > li.active > a:hover {
    background: #eef6ff;
    border-left: 4px solid #2b78d4;
    padding-left: 11px;
    font-weight: 700;
}
#side-menu > li.active > a .fa {
    color: #2b78d4;
}
#side-menu > li.active > a .fa.arrow {
    color: #2b78d4;
}
