/*------------------------------------------------------------------
    File Name: custom.css
-------------------------------------------------------------------*/

/** ADD YOUR AWESOME CODES HERE **/

/* Status Colors */
.active-id {
    color: #28a745 !important;
    font-weight: bold;
}

.inactive-id {
    color: #dc3545 !important;
    font-weight: bold;
}

.zero_activation {
    color: #fd7e14 !important;
    font-weight: bold;
}

/* Sliding Text Bar */
.sliding-text-container {
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 10px 0;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    position: relative;
    height: 45px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sliding-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    font-weight: 500;
    font-size: 1.1rem;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Stats Box Style - Matching MO Project */
.small-box-style {
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    padding: 20px;
}

.small-box-style:hover {
    transform: scale(1.03);
}

/* Card Styling for Pages */
.card {
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    border-radius: 10px 10px 0 0;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
}

.card-body {
    background-color: #eaf4fc;
    padding: 15px;
    border-radius: 0 0 10px 10px;
}

/* Table Styling */
table th {
    background-color: #007bff;
    color: white;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}