.generic_admin_box {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.generic_admin_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ff5b00, #ff8c38);
}

.admin-panel-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.admin-panel-title i {
    margin-right: 8px;
    color: #ff5b00;
    font-size: 0.95rem;
}

.action-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 20px;
    /* Increased border radius for rounder corners */
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.action-button i {
    margin-right: 6px;
    font-size: 14px;
}

.action-button:hover {
    transform: translateY(-1px);
}

.primary-action {
    background-color: #ff5b00;
    color: white;
    border: none;
}

.primary-action:hover {
    background-color: #e65200;
    box-shadow: 0 2px 8px rgba(255, 91, 0, 0.2);
}

.secondary-action {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #e9ecef;
}

.secondary-action:hover {
    background-color: #f1f3f5;
    border-color: #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.danger-action {
    background-color: white;
    color: #dc3545;
    border: 1px solid #f8d7da;
}

.danger-action:hover {
    background-color: #dc3545;
    color: white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.15);
}

@media (max-width: 768px) {
    .generic_admin_box {
        border-radius: 0px;
        padding: 20px 15px;
    }

    .action-buttons-container {
        justify-content: flex-start;
    }

    .action-button {
        flex: 1 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .generic_admin_box {
        border-radius: 0px;
        padding: 20px 15px;
        margin-bottom: 10px;
    }

    .action-button {
        flex: 1 0 100%;
        max-width: 100%;
    }
}