.role-info-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
}

.role-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: transform 0.2s ease-in-out;
    position: relative;
}

.role-item:hover {
    transform: scale(1.05);
}

.role-info-create-role-button {
    background-color: #007aff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    margin-left: 20px;
}

.role-info-create-role-button:hover {
    background-color: #005bb5;
}

/* 弹出菜单样式 */
#role-action-menu {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 1000;
}

/* 模态框内按钮 */
.role-info-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}

.role-info-button:hover {
    background-color: #45a049;
}

.role-info-button-delete {
    background-color: #ff3b30;
}

.role-info-button-delete:hover {
    background-color: #c23321;
}