.pending-count {
    background-color: #ff4757; /* Red background for attention */
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    margin-left: 10px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

/* When the count is greater than 0, add animation and highlight */
.pending-count[data-count='0'] {
    background-color: #ccc; /* Grey out if no pending requests */
}

.pending-count[data-count='0']:hover {
    transform: scale(1.1);
}

.pending-count[data-count]:not([data-count='0']) {
    background-color: #ff6347; /* Bright red if there are pending requests */
}

.pending-count[data-count]:not([data-count='0']):hover {
    background-color: #ff3d36;
    transform: scale(1.2); /* Slightly enlarge the count when hovered */
}


/*Start roles page*/
width: 100%;

#role_form .modules-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#role_form .module-permissions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    background-color: #f9f9f9;
}

#role_form .module-name {
    flex: 1;
    font-size: 1.2rem;
    padding-right: 20px;
}

#role_form .permissions-list {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#role_form .form-check {
    display: flex;
    align-items: center;
    width: 100%;

}

#role_form .form-check-input {
    margin-right: 5px;
    border: 1px solid #735dff;
}

/*End roles page*/

/* start banner module*/

#mediaContainer .media-wrapper {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    position: relative;
    border-radius: 5px;
    background: #f9f9f9;
}

#mediaContainer .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    text-align: center;
    cursor: pointer;
}
.bnp_body{display: inline-flex;width: 100%;}
.url-section, .file-section{width: 50%;}

/*end banner module */

.env-indicator {
    bottom: 10px;
    right: 10px;
    background: #f44336; /* red - catchy */
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }