.btn-primary {
    background-color: #1e88e5 !important;
    border-color: #1e88e5 !important;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-primary:hover {
    background-color: #1976d2 !important;
    border-color: #1976d2 !important;
}

.btn-outline-primary {
    color: #1e88e5 !important;
    border-color: #1e88e5 !important;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.btn-outline-primary:hover {
    background-color: #1e88e5 !important;
    color: #fff !important;
}

.btn-outline-delete {
    color: #FFF;
    border-color: #FF0000 !important;
    background-color: #FF0000 !important;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-outline-delete:hover {
    background-color: #cc0000 !important;
    border-color: #cc0000 !important;
}

.card-primary > .card-header {
    background-color: #1e88e5 !important;
    color: #fff !important;
    font-weight: 600;
    border-bottom: 1px solid #1976d2 !important;
}

.card-primary .card-title {
    color: #FFF !important;
}

.card-primary.card-outline {
    border-top: 3px solid #1e88e5 !important;
}

.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #1e88e5 !important;
    color: #fff !important;
    transition: background-color 0.15s ease-in-out;
}

.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active:hover {
    background-color: #1976d2 !important;
}

.breadcrumb-item a {
    color: #1e88e5 !important;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.breadcrumb-item a:hover {
    color: #1976d2 !important;
}

.breadcrumb-item.active {
    color: #1565c0 !important;
    font-weight: bold;
}

.table thead th {
    background-color: #e3f2fd !important;
    color: #0d47a1 !important;
    border-color: #bbdefb !important;
}

.content-header-modern {
    background: #495057;
    color: white;
    padding: 25px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: center;
}

.dashboard-title {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 400;
    text-transform: capitalize;
}

.dashboard-subtitle {
    margin: 8px 0 0;
    font-size: 1rem;
    opacity: 0.85;
}

.small-box {
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.small-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.small-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.small-box:hover::before {
    left: 100%;
}

.small-box .inner {
    padding: 25px 22px;
    text-align: left;
}

.small-box .inner h3 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.small-box .inner p {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.08);
}

.small-box .icon {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.3;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.small-box:hover .icon {
    opacity: 0.5;
    transform: scale(1.05);
}

.small-box-footer {
    background: rgba(0,0,0,0.1);
    color: #fff !important;
    padding: 12px;
    text-decoration: none !important;
    display: block;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.3s ease;
}

.small-box-footer:hover {
    background: rgba(0,0,0,0.2);
    color: #fff !important;
}

.bg-primary { background: #6f42c1 !important; }
.bg-success { background: #20c997 !important; }
.bg-warning { background: #fd7e14 !important; }
.bg-danger  { background: #e83e8c !important; }

.card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

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

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    margin: 0;
}

.card-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #6f42c1;
    border-radius: 2px;
    margin-right: 10px;
}

.list-group-item {
    border: none;
    padding: 15px 20px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(4px);
}

.list-group-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #6f42c1;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.list-group-item:hover::after {
    transform: scaleY(1);
}

.badge {
    background: #6f42c1 !important;
    color: white;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 0.95rem;
}

.empty-state i {
    font-size: 2.8rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #6f42c1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 12px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.post-item {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.post-item:hover {
    border-left-color: #6f42c1;
    background-color: #f8f9fa;
}

.post-content {
    margin-bottom: 5px;
    font-weight: 600;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.post-date {
    color: #6c757d;
}

.stats-animation,
.card-animation {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s ease forwards;
}

.stats-animation:nth-child(1) { animation-delay: 0.1s; }
.stats-animation:nth-child(2) { animation-delay: 0.2s; }
.stats-animation:nth-child(3) { animation-delay: 0.3s; }
.stats-animation:nth-child(4) { animation-delay: 0.4s; }

.card-animation:nth-child(1) { animation-delay: 0.5s; }
.card-animation:nth-child(2) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}

.pagination li {
    margin: 0 3px;
}

.pagination li a,
.pagination li span {
    display: inline-block;
    padding: 6px 12px;
    color: #6f42c1;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.pagination li.active span {
    background-color: #6f42c1;
    color: #fff;
    border-color: #6f42c1;
}

.pagination li a:hover {
    background-color: #6f42c1;
    color: #fff;
}


.small-box {
    background: none !important;
}

.small-box-dashboard {
    background-color: #0052B3 !important;
    color: #fff;
}
.small-box-dashboard .inner h3,
.small-box-dashboard .inner p {
    color: #fff !important;
}
.small-box-dashboard .icon {
    color: #fff;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.small-box-dashboard:hover .icon {
    opacity: 0.5;
    transform: scale(1.05);
}

.small-box-footer {
    display: block;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px;
    transition: background 0.3s ease;
}
.small-box-footer.users    { background-color: #FDD835 !important; }
.small-box-footer.events   { background-color: #FB8C00 !important; }
.small-box-footer.posts    { background-color: #E53935 !important; }
.small-box-footer.conexoes { background-color: #00E676 !important; }
.small-box-footer:hover    { opacity: 0.9; }

.card-title::before {
    background: transparent !important;
}
.user-card .card-title::before {
    background: #FDD835 !important;
}
.user-card .card-header i {
    color: #FDD835 !important;
}
.post-card .card-title::before {
    background: #E53935 !important;
}
.post-card .card-header i {
    color: #E53935 !important;
}



body {
  overflow-x: hidden !important;
}

.card .card-body {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}
.card .card-body::-webkit-scrollbar {
  display: none !important;
}
